UNPKG

wdym

Version:

Convert Common Log Format (CLF) into more useful (and human-readable) JSON and/or CSV.

13 lines (10 loc) 282 B
/** * A custom Error class thrown when the input data is not in Common Log Format (CLF) */ class IncorrectFormatError extends Error { constructor(...args) { super(...args) Error.captureStackTrace(this, IncorrectFormatError) } } module.exports = IncorrectFormatError