ApiTokenInvalidException
extends FontAwesome_ClientException
in package
Thrown when the token endpoint on the Font Awesome API server returns an non-200 status when trying to use the configured API Token to get an access_token to use for subsequent API query requests.
Table of Contents
Methods
- get_wp_error() : null|WP_Error
- The WP_Error associated with this exception, if any.
- get_wp_response() : null|array<string|int, mixed>
- The response object associated with this exception, if any.
Methods
get_wp_error()
The WP_Error associated with this exception, if any.
public
get_wp_error() : null|WP_Error
Tags
Return values
null|WP_Errorget_wp_response()
The response object associated with this exception, if any.
public
get_wp_response() : null|array<string|int, mixed>
Tags
Return values
null|array<string|int, mixed> —a response array as would be returned by wp_remote_post() with keys like: 'headers', 'body', 'response'.