UNPKG
@arsat/mixin
Version:
latest (1.0.0)
1.0.0
## Description
@arsat/mixin
/
src
/
mixin-exception.ts
8 lines
(7 loc)
•
198 B
text/typescript
View Raw
1
2
3
4
5
6
7
8
export
class
MixinException
extends
Error
{
constructor
(
Delegate:
Function
, Self:
Function
) {
super
(
`
${Delegate.name}
is a subclass of
${Self.name}
. Mixin is not allowed.`
); } }