Next.js website for Rocky Mountain Vending company featuring: - Product catalog with Stripe integration - Service areas and parts pages - Admin dashboard with Clerk authentication - SEO optimized pages with JSON-LD structured data Co-authored-by: Cursor <cursoragent@cursor.com>
57 lines
1.6 KiB
Text
57 lines
1.6 KiB
Text
import { SigninServiceException as __BaseException } from "./SigninServiceException";
|
|
export class AccessDeniedException extends __BaseException {
|
|
name = "AccessDeniedException";
|
|
$fault = "client";
|
|
error;
|
|
constructor(opts) {
|
|
super({
|
|
name: "AccessDeniedException",
|
|
$fault: "client",
|
|
...opts,
|
|
});
|
|
Object.setPrototypeOf(this, AccessDeniedException.prototype);
|
|
this.error = opts.error;
|
|
}
|
|
}
|
|
export class InternalServerException extends __BaseException {
|
|
name = "InternalServerException";
|
|
$fault = "server";
|
|
error;
|
|
constructor(opts) {
|
|
super({
|
|
name: "InternalServerException",
|
|
$fault: "server",
|
|
...opts,
|
|
});
|
|
Object.setPrototypeOf(this, InternalServerException.prototype);
|
|
this.error = opts.error;
|
|
}
|
|
}
|
|
export class TooManyRequestsError extends __BaseException {
|
|
name = "TooManyRequestsError";
|
|
$fault = "client";
|
|
error;
|
|
constructor(opts) {
|
|
super({
|
|
name: "TooManyRequestsError",
|
|
$fault: "client",
|
|
...opts,
|
|
});
|
|
Object.setPrototypeOf(this, TooManyRequestsError.prototype);
|
|
this.error = opts.error;
|
|
}
|
|
}
|
|
export class ValidationException extends __BaseException {
|
|
name = "ValidationException";
|
|
$fault = "client";
|
|
error;
|
|
constructor(opts) {
|
|
super({
|
|
name: "ValidationException",
|
|
$fault: "client",
|
|
...opts,
|
|
});
|
|
Object.setPrototypeOf(this, ValidationException.prototype);
|
|
this.error = opts.error;
|
|
}
|
|
}
|