NoAccessTokenException
extends FontAwesome_ServerException
in package
Thrown when an access token is requested from this plugin's REST API, but no access token be retrieved. This probably indicates some invalid state condition or programming error in this plugin's server-side, rather than a problem with communicating with the Font Awesome API service.
Tags
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'.