MetaKeyNotAllowedException class

Thrown when a meta_data key is not on the site's allow-list. key is the refused key.

Server error code: wpapp_meta_key_not_allowed (HTTP 403).

Implemented types

Constructors

MetaKeyNotAllowedException([String? message, String? key])

Properties

hashCode → int
The hash code for this object.
no setterinherited
key ↔ String?
getter/setter pair
message ↔ String
getter/setter pair
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