import { IErr , ValidationErr } from '../types' ; export default class Err implements IErr < any > { value : any ; validation : ValidationErr | ValidationErr [ ] ; constructor ( value , validation ) { this . value = value ; this . validation = validation ; } }