Skip to content

♻ Rework Error Types #29

@WillXuCodes

Description

@WillXuCodes

Using errno is slightly obtuse of a way to check what type of error occured, and we currently don't follow convention with "Success" being 0 and errors being non-zero types.

Here's what I'm thinking:

  • Enumerate error types to be a more approachable and readable format.
  • The new "Success" type should be 0 instead of 1.
  • Make a lookup table for the errors to provide some form of error print function.

Looking forwards to seeing how this project goes.

Metadata

Metadata

Assignees

No one assigned

    Labels

    in progressthis issue is currently being worked on

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions