Searched refs:YError (Results 1 – 8 of 8) sorted by relevance
1 import { YError } from './yerror.js';22 …throw new YError(`Not enough arguments provided. Expected ${parsed.demanded.length} but received $…26 …throw new YError(`Too many arguments provided. Expected max ${totalCommands} but received ${length…61 …throw new YError(`Invalid ${positionName[position] || 'manyith'} argument. Expected ${allowedTypes…
1 export class YError extends Error { class5 Error.captureStackTrace(this, YError);
15 import { YError } from './yerror.js';201 throw new YError('coerce callback must be provided');215 throw new YError('coerce callback must be provided');232 throw new YError(err.message);421 throw new YError("Invalid first argument. Expected function or boolean 'false'");730 …throw new YError('.parseSync() must not be used with asynchronous builders, handlers, or middlewar…906 … throw new YError('.usage() description must start with $0 if being used as alias for .command()');1393 throw new YError(err.message);1422 throw new YError(parsed.error.message);1438 if (err instanceof YError)[all …]
2 import { YError } from './yerror.js';59 err = err || new YError(msg);
12 import { YError } from '../../build/lib/yerror.js'38 throw new YError(REQUIRE_DIRECTORY_ERROR)61 throw new YError(REQUIRE_ERROR)64 throw new YError(REQUIRE_DIRECTORY_ERROR)
7 import {YError} from '../../build/lib/yerror.js';30 throw new YError(REQUIRE_DIRECTORY_ERROR);58 throw new YError(REQUIRE_ERROR);61 throw new YError(REQUIRE_DIRECTORY_ERROR);
1 import { YError } from '../yerror.js';38 throw new YError(`Circular extended configurations: '${cfgPath}'.`);
1 …YError",Error.captureStackTrace(this,e)}}let s,i=[];function n(t,o,a,h){s=h;let l={};if(Object.pro…