Fix error handling to display them correctly without crashing
This commit is contained in:
3
frontend/src/models/RequestError.ts
Normal file
3
frontend/src/models/RequestError.ts
Normal file
@@ -0,0 +1,3 @@
|
||||
export default class RequestError extends Error {
|
||||
response?: any;
|
||||
}
|
||||
Reference in New Issue
Block a user