Skip to content

Thrown errors do not set error properties #12

@eugirdor

Description

@eugirdor

Errors thrown from the standard fs module have properties set on them such as code, errno, syscall, etc. These properties are no set on the errors thrown by fs-mock. This causes an issue since it is very common for code to branch based on the error code.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions