PWNErrors.sol defines errors used accross the PWN Protocol.
2. Important links
3. Implementation
// SPDX-License-Identifier: GPL-3.0-onlypragmasolidity 0.8.16;/** * @notice Thrown when caller is missing a PWN Hub tag. */errorCallerMissingHubTag(bytes32);/** * @notice Thrown when an address is missing a PWN Hub tag. */errorAddressMissingHubTag(address addr,bytes32 tag);/** * @notice Thrown when `PWNLOAN.burn` caller is not a loan contract that minted the LOAN token. */errorInvalidLoanContractCaller();/** * @notice Thrown when `PWNHub.setTags` inputs lengths are not equal. */errorInvalidInputData();/** * @notice Thrown when a proposal is expired. */errorExpired(uint256 current,uint256 expiration);