Property | Type | Description | |
---|---|---|---|
$error_message | string | Holds WP_Error message. |
Method | Description | |
---|---|---|
create_error_message ( $type = '' ) : boolean | Display message when API returns other than 200 or 404. | |
gitlab_error ( ) | Generate error message for missing GitLab Private Token. | |
instance ( ) : object | Singleton | |
show_401_error_message ( ) | Create error message or 401 (Authentication Error) error. | |
show_403_error_message ( ) | Create error message for 403 error. | |
show_wp_error ( ) | Generate error message for WP_Error. |
public create_error_message ( $type = '' ) : boolean | ||
return | boolean |
public gitlab_error ( ) |
public show_401_error_message ( ) |
public show_403_error_message ( ) |
public static string $error_message | ||
return | string |