InvalidParamsException class

Thrown when a parameter is missing, has the wrong type or value.

Server error codes: wpapp_invalid_params, rest_missing_callback_param and rest_invalid_param (HTTP 400).

Implemented types

Constructors

InvalidParamsException([String? message])

Properties

hashCode → int
The hash code for this object.
no setterinherited
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