egg
Version:
A web application framework for Node.js
15 lines (14 loc) • 404 B
JavaScript
//#region src/lib/error/CookieLimitExceedError.ts
var CookieLimitExceedError = class extends Error {
key;
cookie;
constructor(key, cookie) {
super(`cookie ${key}'s length(${cookie.length}) exceed the limit(4093)`);
this.name = this.constructor.name;
this.key = key;
this.cookie = cookie;
Error.captureStackTrace(this, this.constructor);
}
};
//#endregion
export { CookieLimitExceedError };