DVGraphQLForbidden class

A resolver's refusal: the policy for action did not allow it.

Thrown by DVGraphQL.authorizeModel from inside a resolver, and reported by the executor as the field refusal it is -- the same message and the same FORBIDDEN code a field's declared policy produces.

Implemented types

Constructors

DVGraphQLForbidden(String action)
const

Properties

action → String
The Resource.action that was refused.
final
hashCode → int
The hash code for this object.
no setterinherited
runtimeType → Type
A representation of the runtime type of the object.
no setterinherited

Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toString() → String
A string representation of this object.
override

Operators

operator ==(Object other) → bool
The equality operator.
inherited