masto
Version:
Mastodon API client for JavaScript, TypeScript, Node.js, browsers
15 lines (14 loc) • 483 B
JavaScript
;
Object.defineProperty(exports, "__esModule", { value: true });
exports.MastoDeserializeError = void 0;
const ts_custom_error_1 = require("ts-custom-error");
class MastoDeserializeError extends ts_custom_error_1.CustomError {
contentType;
data;
constructor(message, contentType, data, options) {
super(message, options);
this.contentType = contentType;
this.data = data;
}
}
exports.MastoDeserializeError = MastoDeserializeError;