# Variable SkillSecurityErrorSchema`Const`

SkillSecurityErrorSchema: ZodObject<
{
code: ZodEnum<
{
PERMISSION_DENIED: "PERMISSION_DENIED";
ROLE_NOT_ALLOWED: "ROLE_NOT_ALLOWED";
ATTESTATION_REQUIRED: "ATTESTATION_REQUIRED";
INVALID_PROVENANCE: "INVALID_PROVENANCE";
SIGNATURE_MISMATCH: "SIGNATURE_MISMATCH";
EXECUTION_TIMEOUT: "EXECUTION_TIMEOUT";
SANDBOX_VIOLATION: "SANDBOX_VIOLATION";
},
>;
message: ZodString;
context: ZodOptional<ZodRecord<ZodString, ZodUnknown>>;
},
$strip,
> = ...

Zod schema for SkillSecurityError.

- Defined in packages/nexus-agents/src/agents/skills/skill-security-schemas.ts:152