Get sample error
Returns a sample error response that might occur if an operation fails. Note that the HTTP status would raise an error and that’s a normal behavior.
Response
The unique identifier for the error response. This is useful for tracking the error in the logs and in Sentry if it is enabled.
The error code that is unique to the error type. This can be used to identify the error type and can be used for debugging.
The error message that is human readable and can be used to understand the error. Usually fit to be displayed to the user.
The error details that can be used to understand the error in more detail. This can be used for debugging purposes.
The extra data that can be used to understand the error in more detail. This is usually not displayed to the user and might include stacktrace and sensitive information.