debian-mirror-gitlab/app/assets/javascripts/captcha/unsolved_captcha_error.js

11 lines
259 B
JavaScript
Raw Normal View History

2021-04-17 20:07:23 +05:30
import { __ } from '~/locale';
class UnsolvedCaptchaError extends Error {
constructor(message) {
super(message || __('You must solve the CAPTCHA in order to submit'));
this.name = 'UnsolvedCaptchaError';
}
}
export default UnsolvedCaptchaError;