Adjusted the error interface