decord/beta/source/errors/StripeError.tsx

37 lines
882 B
TypeScript
Raw Permalink Normal View History

2026-10-12 16:32:48 +00:00
// Module ID: 5637
// Function ID: 5638
// Name: StripeError
2026-10-12 16:32:48 +00:00
// Dependencies: [4791, 2]
2026-10-12 16:32:48 +00:00
// Module 5637 (StripeError)
import BillingError from "BillingError" /* 4791 */;
2026-10-01 14:13:23 +00:00
import size from "module_2" /* 2 */;
2026-10-01 14:13:23 +00:00
class StripeError extends BillingError {
constructor(error) {
let message;
let obj2;
let param;
let tmp6;
error = error.error;
if (null != error.param) {
const obj = { body: obj2 };
obj2 = {};
({ param, message } = error);
const items = [message];
obj2[param] = items;
const self3 = this;
const self4 = this;
tmp6 = new tmp(obj, message, param, items);
} else {
const self = this;
const self2 = this;
tmp6 = new tmp(error.message, tmp3, tmp2, error);
}
return tmp6;
}
}
const result = size.fileFinishedImporting("errors/StripeError.tsx");
2026-10-01 14:13:23 +00:00
export default StripeError;