export default class TimeoutError extends Error { public timeout : number ; public statusCode : number ; constructor ( message , timeout , statusCode = 408 ) { super ( message ) ; this . timeout = timeout ; this . statusCode = statusCode ; } }