rimiti/cosium-js-sdk

View on GitHub
src/class/exceptions/authentication/not_authorized.js

Summary

Maintainability
A
1 hr
Test Coverage
import Exception from '../base'

export default class NotAuthorized extends Exception {

  constructor(message) {
    super()
    this.name = this.constructor.name
    this.message = message || `Not authorized`
  }
}