/**
 * TODO Investigate providing types for existing Signiant http-errors library.
 */
export default class HttpError extends Error {
    readonly statusCode: number;
    readonly errorCode?: string;
    /**
     * A standard error http error base class.
     * To be extend by specific error types.
     *
     * @param {number} statusCode the HTTP status code for this error
     * @param {string} message a locale-specific human-readable error message (typically just English)
     * @param {string} errorCode a machine-readable error code. Typically an english-based string of the
     *  format word1.word2.word3 . For example: item.not.found
     *  This error code would typically unique and un-changing for an error of a given type, regardless
     *  of whether the related human-readable message has changed.
     *  It is possible the errorCode could not be defined.
     */
    constructor(message: any, statusCode: number, errorCode?: string);
}
//# sourceMappingURL=HttpError.d.ts.map