allow overwriting status codes for specific errors