Closed selankon closed 1 month ago
It uses error classes that extend ErrAPI. On this way is much easier to use instanceof to get the type of the error, which is more useful than the declared type of before
ErrAPI
instanceof
type
FTR related https://github.com/vocdoni/explorer/pull/49
It uses error classes that extend
ErrAPI
. On this way is much easier to useinstanceof
to get the type of the error, which is more useful than the declaredtype
of before