mariosant/imm

Incorrect handling of errors, by FSA standard.

Closed this issue · 0 comments

FSA says:

By convention, if error is true, the payload SHOULD be an error object. This is akin to rejecting a promise with an error object.

Currently, if there is an error, it is assigned to error property directly.