RICADO Gen 4 API JS Client

RICADO Gen 4 API JS Client

source

Errors/ForbiddenError.js

/**
 * An Error Class for Code 403 Responses from the API
 */
class ForbiddenError extends Error
{
    /**
     * Constructor
     * 
     * @public
     */
    constructor(...args)
    {
        super(...args);

        if(Error.captureStackTrace)
        {
            Error.captureStackTrace(this, ForbiddenError);
        }
    }
}

export default ForbiddenError;