/**
 * This code was AUTOGENERATED using the Codama library.
 * Please DO NOT EDIT THIS FILE, instead use visitors
 * to add features, then rerun Codama to update it.
 *
 * @see https://github.com/codama-idl/codama
 */
import { combineCodec, getEnumDecoder, getEnumEncoder, } from "@solana/kit";
export var TokenMinterError;
(function (TokenMinterError) {
    TokenMinterError[TokenMinterError["InvalidAuthority"] = 0] = "InvalidAuthority";
    TokenMinterError[TokenMinterError["InvalidTokenMinterState"] = 1] = "InvalidTokenMinterState";
    TokenMinterError[TokenMinterError["ProgramPaused"] = 2] = "ProgramPaused";
    TokenMinterError[TokenMinterError["InvalidTokenPairState"] = 3] = "InvalidTokenPairState";
    TokenMinterError[TokenMinterError["InvalidLocalTokenState"] = 4] = "InvalidLocalTokenState";
    TokenMinterError[TokenMinterError["InvalidPauser"] = 5] = "InvalidPauser";
    TokenMinterError[TokenMinterError["InvalidTokenController"] = 6] = "InvalidTokenController";
    TokenMinterError[TokenMinterError["BurnAmountExceeded"] = 7] = "BurnAmountExceeded";
    TokenMinterError[TokenMinterError["InvalidAmount"] = 8] = "InvalidAmount";
})(TokenMinterError || (TokenMinterError = {}));
export function getTokenMinterErrorEncoder() {
    return getEnumEncoder(TokenMinterError);
}
export function getTokenMinterErrorDecoder() {
    return getEnumDecoder(TokenMinterError);
}
export function getTokenMinterErrorCodec() {
    return combineCodec(getTokenMinterErrorEncoder(), getTokenMinterErrorDecoder());
}
//# sourceMappingURL=tokenMinterError.js.map