use a common method - internal_error