UNPKG

@remix-run/server-runtime

Version:
20 lines (18 loc) 488 B
/** * @remix-run/server-runtime v2.16.8 * * Copyright (c) Remix Software Inc. * * This source code is licensed under the MIT license found in the * LICENSE.md file in the root directory of this source tree. * * @license MIT */ class MaxPartSizeExceededError extends Error { constructor(field, maxBytes) { super(`Field "${field}" exceeded upload size of ${maxBytes} bytes.`); this.field = field; this.maxBytes = maxBytes; } } export { MaxPartSizeExceededError };