mirror of
https://github.com/gosticks/DefinitelyTyped.git
synced 2026-11-29 01:31:45 +00:00
[@types/feathersjs__errors] Added typings for the missing "code", "className", "data" and "errors" property members of the FeathersError object.
This commit is contained in:
Vendored
+5
-1
@@ -5,7 +5,11 @@
|
||||
// TypeScript Version: 2.2
|
||||
|
||||
export class FeathersError extends Error {
|
||||
constructor(msg: string | Error, name: string, code: number, className: string, data: any)
|
||||
code: number;
|
||||
className: string;
|
||||
data: any;
|
||||
errors: any;
|
||||
constructor(msg: string | Error, name: string, code: number, className: string, data: any);
|
||||
}
|
||||
|
||||
export class BadRequest extends FeathersError {
|
||||
|
||||
Reference in New Issue
Block a user