And make it back our new new_os_error, new_os_subtype_error etc. They can be generalized but still being useful with factory functions ## Summary <!-- Short description of the issue. --> ## Details <!-- Whatever you want to share -->