Searched refs:CustomError (Results 1 – 4 of 4) sorted by relevance
23 class CustomError : public ErrorInfo<CustomError> { class26 CustomError(int Info) : Info(Info) {} in CustomError() function in __anonc91d3d610111::CustomError48 CustomError() : Info(0) {} in CustomError() function in __anonc91d3d610111::CustomError53 char CustomError::ID = 0;57 class CustomSubError : public ErrorInfo<CustomSubError, CustomError> {85 static Error handleCustomError(const CustomError &CE) { return Error(); } in handleCustomError()87 static void handleCustomErrorVoid(const CustomError &CE) {} in handleCustomErrorVoid()89 static Error handleCustomErrorUP(std::unique_ptr<CustomError> CE) { in handleCustomErrorUP()93 static void handleCustomErrorUPVoid(std::unique_ptr<CustomError> CE) {} in handleCustomErrorUPVoid()142 Error E = make_error<CustomError>(42); in TEST()[all …]
52 class CustomError(Exception): class55 class ChildError(CustomError):490 class IneligibleConfigurationAppliedError(CustomError):610 class ChangeRequestToNonAccessibleState(CustomError):711 class ConfigAppliedWithoutCriteriaError(CustomError):723 class ChangeRequestOnUnknownCriterion(CustomError):860 except CustomError as ex:1061 except CustomError as ex:
591 >>> raise CustomError('message')593 CustomError: message595 >>> raise CustomError('message')597 my_module.CustomError: message
575 >>> raise CustomError('message')577 CustomError: message579 >>> raise CustomError('message')581 my_module.CustomError: message