identifier
Input value for copp.diag.CoppError. See Description for accepted shape and constraints. Default: "copp:NativeError"
obj = copp.diag.CoppError(identifier, message, category, native_status, detail)
MATLAB catch blocks receive MException objects. CoppError wraps those exceptions so user code can inspect COPP-specific category/detail fields.
identifierInput value for copp.diag.CoppError. See Description for accepted shape and constraints. Default: "copp:NativeError"
messageInput value for copp.diag.CoppError. See Description for accepted shape and constraints. Default: ""
categoryInput value for copp.diag.CoppError. See Description for accepted shape and constraints. Default: "NativeError"
native_statusInput value for copp.diag.CoppError. See Description for accepted shape and constraints. Default: []
detailInput value for copp.diag.CoppError. See Description for accepted shape and constraints. Default: ""
identifierMember identifier.
messageMember message.
categoryMember category.
native_statusMember native_status.
detailMember detail.
CoppErrorMember CoppError.
to_exceptionConvert this facade back to a MATLAB MException.
throw_as_callerThrow this error as a MATLAB exception.
is_copp_errorReturn true for COPP MException/CoppError values.
from_exceptionBuild a CoppError facade from a caught MException.
CoppErrorobj = copp.diag.CoppError(identifier, message, category, native_status, detail)
to_exceptionerr = to_exception(obj)
throw_as_callerthrow_as_caller(obj)
is_copp_errortf = is_copp_error(err)
from_exceptionobj = from_exception(err)