Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Unifiy/consolidate error types in CHIP #7722

Closed
andy31415 opened this issue Jun 17, 2021 · 1 comment
Closed

Unifiy/consolidate error types in CHIP #7722

andy31415 opened this issue Jun 17, 2021 · 1 comment

Comments

@andy31415
Copy link
Contributor

Problem

Chip generally has CHIP_ERROR used in most places, however we also have INET_ERROR and potentially others (posix calls will use errno, various libraries will have their own version)

Proposed Solution

Unify on one error type. Choices could be: conversion on CHIP_ERROR for all external purposes or have some compound error type (e.g. source and number to support saying <ERRNO, 2> or <CHIP, OUT_OF_MEMORY>).

@andy31415
Copy link
Contributor Author

Same as #7688

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant