Refusal final readonly class
Minn\Runtime\Refusal · public/minn/src/Minn/Runtime/Refusal.php · 6 lines
A refused operation, the way plugin code expects to read it: a code, a message, optional data. The facade turns it into WP_Error.
Used by 19 (show)
Constants and properties
| prop | readonly string $code | Promoted from the constructor. |
| prop | readonly string $message | Promoted from the constructor. |
| prop | readonly mixed $data | Promoted from the constructor. |
Public
| new | __construct(string $code, string $message, mixed $data = NULL)# |
Nothing matches.