mirror of
https://github.com/yu-i-i/overleaf-cep.git
synced 2026-05-31 04:41:32 +02:00
[web] Manually collected subscriptions with flexible licensing GitOrigin-RevId: ca7cf2abf5cfa1d873614bf3407fb5a259a78a76
28 lines
608 B
JavaScript
28 lines
608 B
JavaScript
const Errors = require('../Errors/Errors')
|
|
const OError = require('@overleaf/o-error')
|
|
|
|
class RecurlyTransactionError extends Errors.BackwardCompatibleError {
|
|
constructor(options) {
|
|
super({
|
|
message: 'Unknown transaction error',
|
|
...options,
|
|
})
|
|
}
|
|
}
|
|
|
|
class DuplicateAddOnError extends OError {}
|
|
|
|
class AddOnNotPresentError extends OError {}
|
|
|
|
class MissingBillingInfoError extends OError {}
|
|
|
|
class ManuallyCollectedError extends OError {}
|
|
|
|
module.exports = {
|
|
RecurlyTransactionError,
|
|
DuplicateAddOnError,
|
|
AddOnNotPresentError,
|
|
MissingBillingInfoError,
|
|
ManuallyCollectedError,
|
|
}
|