Initial Commit

This commit is contained in:
Netkas 2023-06-04 14:23:51 -04:00
parent 93a0b9be02
commit 6e599b2c0c
No known key found for this signature in database
GPG key ID: 5DAF58535614062B
99 changed files with 10836 additions and 4 deletions

View file

@ -0,0 +1,55 @@
<?php
namespace FederationLib\Enums\Standard;
final class ErrorCodes
{
/**
* An internal server error occurred.
*/
public const INTERNAL_SERVER_ERROR = 0;
/**
* The requested client was not found.
*/
public const CLIENT_NOT_FOUND = 1000;
/**
* The requested client name is invalid.
*/
public const INVALID_CLIENT_NAME = 1001;
/**
* The requested client description is invalid.
*/
public const INVALID_CLIENT_DESCRIPTION = 1002;
/**
* The requested client signature verification failed.
*/
public const SIGNATURE_VERIFICATION_FAILED = 1003;
/**
* The requested client is disabled.
*/
public const CLIENT_DISABLED = 1004;
/**
* The requested user entity was not found.
*/
public const PEER_NOT_FOUND = 2000;
/**
* The requested peer association was not found.
*/
public const PEER_ASSOCIATION_NOT_FOUND = 3000;
/**
* The requested peer association type is invalid.
*/
public const INVALID_PEER_ASSOCIATION_TYPE = 3001;
}