rimiti/cosium-js-sdk

View on GitHub
src/class/exceptions/api/unknow_error.js

Summary

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

export default class UnknownError extends Exception {

  constructor(message) {
    super()
    this.name = this.constructor.name
    this.message = message || `Unknown error`
  }

}