/** * This code was GENERATED using the solita package. * Please DO NOT EDIT THIS FILE, instead rerun solita to update it or write a wrapper to add functionality. * * See: https://github.com/metaplex-foundation/solita */ type ErrorWithCode = Error & { code: number; }; type MaybeErrorWithCode = ErrorWithCode | null | undefined; /** * UnauthorizedMint: 'Unauthorized to mints' * * @category Errors * @category generated */ export declare class UnauthorizedMintError extends Error { readonly code: number; readonly name: string; constructor(); } /** * Attempts to resolve a custom program error from the provided error code. * @category Errors * @category generated */ export declare function errorFromCode(code: number): MaybeErrorWithCode; /** * Attempts to resolve a custom program error from the provided error name, i.e. 'Unauthorized'. * @category Errors * @category generated */ export declare function errorFromName(name: string): MaybeErrorWithCode; export {};