> For the complete documentation index, see [llms.txt](https://docs.fringe.fi/v2-smart-contract-documentation/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.fringe.fi/v2-smart-contract-documentation/util/bondtrollererrorreporter.md).

# 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.
