# BondtrollerErrorReporter

## Overview

#### License: MIT

```solidity
contract BondtrollerErrorReporter
```

## Enums info

### Error

```solidity
enum Error {
	 NO_ERROR,
	 UNAUTHORIZED,
	 BONDTROLLER_MISMATCH,
	 INSUFFICIENT_SHORTFALL,
	 INSUFFICIENT_LIQUIDITY,
	 INVALID_CLOSE_FACTOR,
	 INVALID_COLLATERAL_FACTOR,
	 INVALID_LIQUIDATION_INCENTIVE,
	 MARKET_NOT_ENTERED,
	 MARKET_NOT_LISTED,
	 MARKET_ALREADY_LISTED,
	 MATH_ERROR,
	 NONZERO_BORROW_BALANCE,
	 PRICE_ERROR,
	 REJECTION,
	 SNAPSHOT_ERROR,
	 TOO_MANY_ASSETS,
	 TOO_MUCH_REPAY
}
```

### FailureInfo

```solidity
enum FailureInfo {
	 ACCEPT_ADMIN_PENDING_ADMIN_CHECK,
	 ACCEPT_PENDING_IMPLEMENTATION_ADDRESS_CHECK,
	 EXIT_MARKET_BALANCE_OWED,
	 EXIT_MARKET_REJECTION,
	 SET_CLOSE_FACTOR_OWNER_CHECK,
	 SET_CLOSE_FACTOR_VALIDATION,
	 SET_COLLATERAL_FACTOR_OWNER_CHECK,
	 SET_COLLATERAL_FACTOR_NO_EXISTS,
	 SET_COLLATERAL_FACTOR_VALIDATION,
	 SET_COLLATERAL_FACTOR_WITHOUT_PRICE,
	 SET_IMPLEMENTATION_OWNER_CHECK,
	 SET_LIQUIDATION_INCENTIVE_OWNER_CHECK,
	 SET_LIQUIDATION_INCENTIVE_VALIDATION,
	 SET_MAX_ASSETS_OWNER_CHECK,
	 SET_PENDING_ADMIN_OWNER_CHECK,
	 SET_PENDING_IMPLEMENTATION_OWNER_CHECK,
	 SET_PRICE_ORACLE_OWNER_CHECK,
	 SUPPORT_MARKET_EXISTS,
	 SUPPORT_MARKET_OWNER_CHECK,
	 SET_PAUSE_GUARDIAN_OWNER_CHECK
}
```

## Events info

### Failure

```solidity
event Failure(uint256 error, uint256 info, uint256 detail)
```

`error` corresponds to enum Error; `info` corresponds to enum FailureInfo, and `detail` is an arbitrary contract-specific code that enables us to report opaque error codes from upgradeable contracts.


---

# Agent Instructions: Querying This Documentation

If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter:

```
GET https://docs.fringe.fi/v2-smart-contract-documentation/util/bondtrollererrorreporter.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
