Return an Error object with specific error message.