chore: add optional error payload to http error response
This commit is contained in:
@@ -3,4 +3,5 @@ import { ErrorTag } from './ErrorTag'
|
|||||||
export type HttpError = {
|
export type HttpError = {
|
||||||
message: string
|
message: string
|
||||||
tag?: ErrorTag
|
tag?: ErrorTag
|
||||||
|
payload?: Record<string, unknown>
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user