Tests for ActionError and GoApiError.