◆ provideErrorResponse()
template<data::IsCommonData Context>
Provides the actual error response. This is what you want to override if you don't care much about the actual error handling process, but want to customise the response itself.
◆ tryCall()
template<data::IsCommonData Context>
Defines the actual error handler. This function must invoke provideErrorResponse if it's a generic interface. provideErrorResponse can be omitted if you inline the error handling logic.
- Parameters
-
| errorHandled | A callback representing the code to be error-checked |
The documentation for this struct was generated from the following file: