Type of the underlying cause.
Optional ReadonlycauseOriginal error or contextual value that triggered this exception.
Optional ReadonlykeyApplication-specific error key (e.g. 'auth.tokenExpired').
Optional ReadonlystatusHTTP status for this exception.
Accepts a key name ('NOT_FOUND') or a numeric code (404).
Defaults to 500 Internal Server Error when omitted.
Options accepted by the HttpException constructor.