Define AMS_MAKE_ERROR_OBJ¶
Defined in File AMSError.hpp
Define Documentation¶
-
AMS_MAKE_ERROR_OBJ(Type_, Message_)¶
Helper macro to construct an AMSError with current file/line.
Example:
return MakeError<int>(AMS_MAKE_ERROR(AMSErrorType::InvalidArgument, "Bad configuration"));