mirror of
https://github.com/TryGhost/Ghost.git
synced 2024-12-22 18:31:57 +03:00
39c4fec9ea
no issue - A new validation stage has been introduced as a second step after CSV file has been dropped. It is meant to catch any obvious validation errors and output detailed statistics about - These improvements also improve sampling logic which increases sample size to 30 non-empty cells which are used to validate stripe_customer_ids when there's such need. - New sampling logic also introduces improved automatic field type detection which allows to better map email and stripe_customer_id fields to CSV columns
9 lines
239 B
JavaScript
9 lines
239 B
JavaScript
export default class EmailFailedError extends Error {
|
|
constructor({message, context, type = 'error'}) {
|
|
super(message);
|
|
this.name = 'MemberImportError';
|
|
this.context = context;
|
|
this.type = type;
|
|
}
|
|
}
|