Skip to content

Use Error causes #1746

@alexeyr-ci2

Description

@alexeyr-ci2

We can slightly simplify code and improve shown errors by using the cause option of Error constructor.

Blocked by #1745. See https://github.com/shakacode/react_on_rails/pull/1745/files/521c5b3d3b1e99d483eb5cb0bbf34c50828743d1..654761635b4f39360a84d8cde1305bbee6b962b6#r2194213114 (and check all new Error calls).

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions