forge-dashboard-sdk-php

ForgeErrorKind

ForgeErrorKind Class Doc Comment

Tags
category

Class

description

Why a forge is unreachable, or why a write to it was rejected, as coarse as every forge this service talks to can agree on. "unauthorized" covers both a bad token and a forbidden request; "not_found" usually means a wrong instance URL. "conflict" is only ever returned from a pull-request write — the forge reports the PR itself isn't currently mergeable. "unknown" covers a signal this service doesn't recognize, rather than a guessed-at specific cause.

author

OpenAPI Generator team

link
https://openapi-generator.tech

Table of Contents

Constants

CONFLICT  : mixed = 'conflict'
NOT_FOUND  : mixed = 'not_found'
RATE_LIMITED  : mixed = 'rate_limited'
UNAUTHORIZED  : mixed = 'unauthorized'
UNKNOWN  : mixed = 'unknown'
UNREACHABLE  : mixed = 'unreachable'
Possible values of this enum

Methods

getAllowableEnumValues()  : array<string|int, string>
Gets allowable values of the enum

Constants

UNREACHABLE

Possible values of this enum

public mixed UNREACHABLE = 'unreachable'

Methods

getAllowableEnumValues()

Gets allowable values of the enum

public static getAllowableEnumValues() : array<string|int, string>
Return values
array<string|int, string>
On this page

Search results