From a3a941b342c782c423ce778273794b0b03db1f47 Mon Sep 17 00:00:00 2001 From: Eric Lu Date: Mon, 26 Jan 2015 19:27:38 -0800 Subject: [PATCH] Expose two more error types. --- restify/restify.d.ts | 2 ++ 1 file changed, 2 insertions(+) diff --git a/restify/restify.d.ts b/restify/restify.d.ts index f1cc9766a..6e0ee450a 100644 --- a/restify/restify.d.ts +++ b/restify/restify.d.ts @@ -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;