UNPKG
grule
Version:
latest (0.1.1)
0.1.1
0.1.0
0.1.0-alpha.9
0.1.0-alpha.8
0.1.0-alpha.7
0.1.0-alpha.6
0.1.0-alpha.5
0.1.0-alpha.4
0.1.0-alpha.3
0.1.0-alpha.2
0.1.0-alpha.1
0.0.0
A simple and powerful mechanism for validating rules in JSON.
github.com/hiukky/grule
hiukky/grule
grule
/
dist
/
lib
/
exception.d.ts
5 lines
(4 loc)
•
169 B
TypeScript
View Raw
1
2
3
4
5
import
{
ExceptionMetadata
}
from
'../src/interfaces'
;
export
declare
class
GruleError
extends
Error
{
constructor
(
message
:
string
,
metadata
?:
ExceptionMetadata
); }