core - Common library infrastructure

error - nxpy’s exception hierarchy