Chamilo is a learning management system focused on ease of use and accessibility
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 
 
 
 
chamilo-lms/assets/vue/error/SubmissionError.js

11 lines
301 B

export default class SubmissionError extends Error {
constructor (errors) {
console.log('SubmissionError class');
super('Submit Validation Failed');
this.errors = errors;
Error.captureStackTrace(this, this.constructor);
this.name = this.constructor.name;
return this;
}
}