UNPKG

lux-framework

Version:

Build scalable, Node.js-powered REST APIs with almost no code.

13 lines (10 loc) 204 B
// @flow /** * @private */ class ValidationError extends Error { constructor(key: string, value: string) { super(`Validation failed for ${key}: ${value}`); } } export default ValidationError;