mirror of
https://github.com/stjornleysi/telegram_glpi.git
synced 2025-12-03 02:23:09 +00:00
10 lines
239 B
JavaScript
10 lines
239 B
JavaScript
class InvalidHTTPMethodError extends Error {
|
|
constructor(message) {
|
|
super(message);
|
|
this.name = this.constructor.name;
|
|
Error.captureStackTrace(this, this.constructor);
|
|
}
|
|
}
|
|
|
|
module.exports = InvalidHTTPMethodError;
|