Arcjet · Method
reason.isError
Arcjet's protect() method runs the configured security rules for a request. It returns a decision that tells your application whether to allow, deny, or handle an error.
Last updated
Syntax
await aj.protect(request, context?)In-depth API docs are only for subscribers: parameters, examples, common mistakes and interview practice.
SubscribeRelated
ArcjetDecisionArcjetReasonprotectresultsisAllowedisDeniedisErroredisShield