summaryrefslogtreecommitdiff
path: root/src/Status.php
blob: 23fef6845e1b29887f21079080780e86e58be2b4 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
<?php

namespace GeminiFoundation;

/**
 * @see gemini://geminiprotocol.net/docs/specification.gmi
 */
enum Status: int
{
  case INPUT = 10;
  case SENSITIVE_INPUT = 11;
  case SUCCESS = 20;
  case REDIRECT_TEMPORARY = 30;
  case REDIRECT_PERMANENT = 31;
  case TEMPORARY_FAILURE = 40;
  case SERVER_UNAVAILABLE = 41;
  case CGI_ERROR = 42;
  case PROXY_ERROR = 43;
  case SLOW_DOWN = 44;
  case PERMANENT_FAILURE = 50;
  case NOT_FOUND = 51;
  case GONE = 52;
  case PROXY_REQUEST_REFUSED = 53;
  case BAD_REQUEST = 59;
  case CLIENT_CERTIFICATE_REQUIRED = 60;
  case CERTIFICATE_NOT_AUTHORISED = 61;
  case CERTIFICATE_NOT_VALID = 62;
}