chore: add optional error payload to http error response

This commit is contained in:
Karol Sójko
2023-05-12 18:27:20 +02:00
parent 3c76bd25e4
commit 2e11c8a7d1

View File

@@ -3,4 +3,5 @@ import { ErrorTag } from './ErrorTag'
export type HttpError = {
message: string
tag?: ErrorTag
payload?: Record<string, unknown>
}