ore-fol-errors

2.0.0 • Public • Published

ore-fol-errors

Build Status npm Version JS Standard

Errors for ore-fol

Installation

$ npm install ore-fol-errors --save

Usage

'use strict'
 
const { imageError } = require('ore-fol-errors')
 
{
  let error = imageError('Image not found')
  /* ... */
}
 

Functions

Available errors

  • valueMissingError
  • valueInvalidError
  • signupProveError
  • signinFailError
  • signinRequiredError
  • signInvalidError
  • verifyNotFoundError
  • verifyTokenWrongError
  • verifyTokenExpiredError
  • recoverNotFoundError
  • recoverTokenWrongError
  • recoverTokenExpiredError
  • notAllowedError
  • notFoundError
  • notAuthorizedError
  • crawlError
  • imageError

License

This software is released under the MIT License.

Links

/ore-fol-errors/

    Package Sidebar

    Install

    npm i ore-fol-errors

    Weekly Downloads

    3

    Version

    2.0.0

    License

    MIT

    Last publish

    Collaborators

    • okunishinishi