Skip to navigation

holoscan::CompileError

Beta
View as Markdown

Report an attempt to execute or require a rejected compile result.

#include <holoscan/compile.hpp>

Inherits from: holoscan::RuntimeError (public)


Constructors

CompileError

std::string_view what_arg
)

Construct a generic compile error from bounded text.

Parameters

what_arg
std::string_view

Error text copied into the exception.


Methods

code

holoscan::ErrorCode holoscan::CompileError::code() const noexcept

Get the error code carried by this error.

Returns: The ErrorCode (kFailure for errors constructed without an explicit code).