auth-context-provider/src/ResponseError.ts
2020-07-16 10:39:05 +07:00

10 lines
185 B
TypeScript

class ResponseError extends Error{
response = null
constructor(message: string, response: any) {
super(message)
this.response = response
}
}
export default ResponseError