5.1.0
Added
- Allow passing a cause to predefined error functions (#83)
- This allows passing an
Error
instance as cause, by using{ data: { cause: /* some error */ } }
- The error will be properly serialised when calling
serialize
- This allows passing an