mirror of
https://github.com/zhigang1992/DefinitelyTyped.git
synced 2026-04-24 05:06:02 +08:00
Expose two more error types.
This commit is contained in:
2
restify/restify.d.ts
vendored
2
restify/restify.d.ts
vendored
@@ -194,6 +194,8 @@ declare module "restify" {
|
||||
export class RequestThrottledError { constructor(message: any); }
|
||||
export class ResourceNotFoundError { constructor(message: any); }
|
||||
export class WrongAcceptError { constructor(message: any); }
|
||||
export class UnsupportedMediaTypeError { constructor(message: any); }
|
||||
export class RequestTimeoutError { constructor(message: any); }
|
||||
|
||||
export function acceptParser(parser: any): RequestHandler;
|
||||
export function authorizationParser(): RequestHandler;
|
||||
|
||||
Reference in New Issue
Block a user