UNPKG
@webf/rule
Version:
latest (1.0.1)
1.0.1
1.0.0
0.1.4
0.1.3
0.1.2
0.1.0
Business rule validation library
github.com/webf-run/rule
webf-run/rule
@webf/rule
/
src
/
error.ts
9 lines
(7 loc)
•
153 B
text/typescript
View Raw
1
2
3
4
5
6
7
8
9
export
class
RuleError
extends
Error
{
ruleKey
:
string
;
constructor
(
ruleKey
:
string
) {
super
(
'Invalid rule'
);
this
.
ruleKey
= ruleKey; } }