class CustomError extends Schema.TaggedError<CustomError>()("CustomError", {
name: Schema.String
}) {
[HttpServerRespondable.symbol]() {
return HttpServerResponse.schemaJson(CustomError)(this, { status: 599 })
}
}
class CustomError extends Schema.TaggedError<CustomError>()("CustomError", {
name: Schema.String
}) {
[HttpServerRespondable.symbol]() {
return HttpServerResponse.schemaJson(CustomError)(this, { status: 599 })
}
}