Skip to content
  • Alfredo Di Napoli's avatar
    Remove ErrDoc and MsgDoc · ddc2a759
    Alfredo Di Napoli authored and Marge Bot's avatar Marge Bot committed
    This commit boldly removes the ErrDoc and the MsgDoc from the codebase.
    The former was introduced with the only purpose of classifying errors
    according to their importance, but a similar result can be obtained just
    by having a simple [SDoc], and placing bullets after each of them.
    
    On top of that I have taken the perhaps controversial decision to also
    banish MsgDoc, as it was merely a type alias over an SDoc and as such it wasn't
    offering any extra type safety. Granted, it was perhaps making type
    signatures slightly more "focused", but at the expense of cognitive
    burden: if it's really just an SDoc, let's call it with its proper name.
    ddc2a759