Documentation

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
since
5.0.0

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
since
4.0.0
Return values
null|WP_Error

get_wp_response()

The response object associated with this exception, if any.

public get_wp_response() : null|array<string|int, mixed>
Tags
since
4.0.0
Return values
null|array<string|int, mixed>

a response array as would be returned by wp_remote_post() with keys like: 'headers', 'body', 'response'.


        
On this page

Search results