Skip to content

Release 1.2.0

Choose a tag to compare

@ansel1 ansel1 released this 24 Aug 17:12

Causes! merry now supports adding a cause to an error. The causes' messages are appended to the top error's message, e.g. "reading failed: connection error: EOF". Details() now includes the details of the entire causal chain. Is() will test now test the error and the error's causes against the arguments. Cause() and RootCause() return the direct cause and the innermost cause of an error. Fixes #21 and #13 .

Also updated the docs.