auth-context-provider/src/ResponseError.ts

10 lines
185 B
TypeScript
Raw Permalink Normal View History

2020-07-16 10:39:05 +07:00
class ResponseError extends Error{
response = null
constructor(message: string, response: any) {
super(message)
this.response = response
}
}
export default ResponseError