added fonts
This commit is contained in:
+14
@@ -0,0 +1,14 @@
|
||||
const symbolError = Symbol.for('NextjsError');
|
||||
export function getErrorSource(error) {
|
||||
return error[symbolError] || null;
|
||||
}
|
||||
export function decorateServerError(error, type) {
|
||||
Object.defineProperty(error, symbolError, {
|
||||
writable: false,
|
||||
enumerable: false,
|
||||
configurable: false,
|
||||
value: type
|
||||
});
|
||||
}
|
||||
|
||||
//# sourceMappingURL=error-source.js.map
|
||||
Reference in New Issue
Block a user