UNPKG
zod-opts
Version:
latest (1.0.0)
1.0.0
0.1.8
0.1.7
0.1.6
0.1.5
0.1.3
0.1.2
0.1.1
0.1.0
node.js CLI option parser / validator using Zod
github.com/ndruger/zod-opts
ndruger/zod-opts
zod-opts
/
dist
/
src
/
error.d.ts
10 lines
(9 loc)
•
297 B
TypeScript
View Raw
1
2
3
4
5
6
7
8
9
10
export
declare
class
BaseError
extends
Error
{
code
:
string
;
nestedError
:
Error
|
undefined
;
constructor
(
code
:
string
,
message
:
string
); }
export
declare
class
ParseError
extends
BaseError
{
commandName
:
string
|
undefined
;
constructor
(
message
:
string
,
nestedError
?:
Error
); }