c7766eb Define errors_by_code in ipalib.errors

Authored and Committed by ftweedal 3 years ago
    Define errors_by_code in ipalib.errors
    
    The errors_by_code mapping could be used in more places.  In
    particular it will be useful in the Dogtag GSS-API authentication
    effort.  Move to ipalib.errors.
    
    Part of: https://pagure.io/freeipa/issue/5011
    
    Reviewed-By: Christian Heimes <cheimes@redhat.com>
    
        
file modified
+2 -0
file modified
+1 -3