function enforce(err) {
    if (is.string(err)) err = new Error(err);
    err.message = err.message.replace(/^Error: /, '');

    return err;
}
function enforce(err) {
    if (is.string(err)) err = new Error(err);
    err.message = err.message.replace(/^Error: /, '');

    return err;
}
function enforce ( err ) { if ( is . string ( err ) ) err = new Error ( err ) ; err . message = err . message . replace ( / ^Error:  / , '' ) ; return err ; }
Enforce as an Error object, and cleanup message
Enforce as an Error object and cleanup message
Enforce an error to be a valid
   