diff options
Diffstat (limited to 'src/Exception/TokenTypeNotSupported.js')
-rw-r--r-- | src/Exception/TokenTypeNotSupported.js | 16 |
1 files changed, 16 insertions, 0 deletions
diff --git a/src/Exception/TokenTypeNotSupported.js b/src/Exception/TokenTypeNotSupported.js new file mode 100644 index 0000000..cb27fee --- /dev/null +++ b/src/Exception/TokenTypeNotSupported.js @@ -0,0 +1,16 @@ +export default class TokenTypeNotSupported extends Error { + + /** + * @returns {String} + */ + get name() { + return 'TokenTypeNotSupported'; + } + + /** + * + */ + constructor() { + super('None of the available tokens are supported by this client.'); + } +}
\ No newline at end of file |