diff --git a/clients/js/src/generated/errors/mplCore.ts b/clients/js/src/generated/errors/mplCore.ts index a0d497db..6befb4d4 100644 --- a/clients/js/src/generated/errors/mplCore.ts +++ b/clients/js/src/generated/errors/mplCore.ts @@ -291,6 +291,19 @@ export class MissingUpdateAuthorityError extends ProgramError { codeToErrorMap.set(0x14, MissingUpdateAuthorityError); nameToErrorMap.set('MissingUpdateAuthority', MissingUpdateAuthorityError); +/** MissingNewOwner: Missing new owner */ +export class MissingNewOwnerError extends ProgramError { + override readonly name: string = 'MissingNewOwner'; + + readonly code: number = 0x15; // 21 + + constructor(program: Program, cause?: Error) { + super('Missing new owner', program, cause); + } +} +codeToErrorMap.set(0x15, MissingNewOwnerError); +nameToErrorMap.set('MissingNewOwner', MissingNewOwnerError); + /** * Attempts to resolve a custom program error from the provided error code. * @category Errors diff --git a/clients/rust/src/generated/errors/mpl_core.rs b/clients/rust/src/generated/errors/mpl_core.rs index e65b56e4..83a89a41 100644 --- a/clients/rust/src/generated/errors/mpl_core.rs +++ b/clients/rust/src/generated/errors/mpl_core.rs @@ -73,6 +73,9 @@ pub enum MplCoreError { /// 20 (0x14) - Missing update authority #[error("Missing update authority")] MissingUpdateAuthority, + /// 21 (0x15) - Missing new owner + #[error("Missing new owner")] + MissingNewOwner, } impl solana_program::program_error::PrintProgramError for MplCoreError { diff --git a/idls/mpl_core.json b/idls/mpl_core.json index aceaabab..ac21832b 100644 --- a/idls/mpl_core.json +++ b/idls/mpl_core.json @@ -2270,6 +2270,11 @@ "code": 20, "name": "MissingUpdateAuthority", "msg": "Missing update authority" + }, + { + "code": 21, + "name": "MissingNewOwner", + "msg": "Missing new owner" } ], "metadata": {