Introduce error objects