rimiti/clicrdv-js-sdk

View on GitHub
src/class/exceptions/configuration/wrong_format.js

Summary

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

export default class ConfigurationWrongFormat extends Exception {

  constructor(message) {
    super()
    this.name = this.constructor.name
    this.message = message || `Only "json" or "xml" format can be set.`
  }

}