Skip to content
This repository has been archived by the owner on Aug 16, 2021. It is now read-only.

Replace std::error::Error with core_error::Error #334

Draft
wants to merge 3 commits into
base: master
Choose a base branch
from

Commits on Oct 27, 2019

  1. Replace std::error::Error with core_error::Error

    To promote compatibility across error-handling crates, use
    core_error::Error as the StdError trait. When using the std feature,
    core_error simply reexports the std crate. Otherwise, it provide its own
    Error trait with all the std-only features removed, and implements the
    trait on all the error structs found in libcore.
    
    This PR brings two immediate benefits to no_std users: It makes the Compat
    struct into a proper compatibility layer, and it makes the core errors
    compatible with the Fail trait.
    roblabla committed Oct 27, 2019
    Configuration menu
    Copy the full SHA
    86458f3 View commit details
    Browse the repository at this point in the history

Commits on Nov 2, 2019

  1. Configuration menu
    Copy the full SHA
    9a33e56 View commit details
    Browse the repository at this point in the history

Commits on Nov 22, 2019

  1. Configuration menu
    Copy the full SHA
    17fc910 View commit details
    Browse the repository at this point in the history