Add frictionless global error handling. [Finish #54255462]