UNPKG

@ne1410s/http

Version:

Lightweight ES5 script to provide http utilities

18 lines (17 loc) 491 B
/** * Thrown when serialisation was not successful. */ export declare class SerialisationError<TModel> extends Error { readonly message: string; readonly model: TModel; readonly cause?: any; constructor(message: string, model: TModel, cause?: any); } /** * Thrown when deserialisation was not successful. */ export declare class DeserialisationError extends Error { readonly message: string; readonly cause?: any; constructor(message: string, cause?: any); }