MMOframework
Pourquoi l'IA Playground Bibliothèques Développeurs Agence
FR EN
Créer un projet en direct
Index

eRateLimited

MMO\git\exceptions · 1 symbole · générée le 30 Nov 2026

class

eRateLimited

eRateLimited.php:13

GitHub kept refusing a call for its rate limit (a 403 or 429 saying so, a retry-after, x-ratelimit-remaining: 0, a GraphQL RATE_LIMITED) after GitHubAPI waited and tried again: the call was not done, it can be made again later. A sync stops on it with its state written (BoardSync).

class MMO\git\exceptions\eRateLimited extends MMO\core\exceptions\eRuntime
Espace de noms
MMO\git\exceptions
Étend
eRuntime
try {$api->createComment(12, 'Done.');} catch (eRateLimited $e) {echo 'later: ', $e->getMessage();}
Membres hérités (30)
PropriétésDéclaré parDescription
codeException
contexteRuntime
fileException
formateRuntime
lineException
ListenerseRuntime
messageException
MéthodesDéclaré parDescription
AddListener($handler, $order)eRuntimeRegister a listener directly (as opposed to ConnectListeners's attribute-based discovery).
ConnectListeners($obj)eRuntimeScan $obj's methods for #[Listen(EventClass::class)] attributes and register each one as a listener on the matching event class.
DisconnectListeners($obj)eRuntimeUndo a previous ConnectListeners: removes every listener that connect had registered for $obj on this event class.
dispatch()eRuntimeInvoke every GetListeners listener with $this.
getCode()Exception
getContext()eRuntime
getFile()Exception
getFormat()eRuntime
getLine()Exception
GetListeners()eRuntimeCollect every listener for this class, including those registered on its parent classes (so a subclass event is also caught by listeners of its parent event), sorted by ascending $order (ties keep …
getMessage()Exception
getOrigin()eRuntime
getPrevious()Exception
getTrace()Exception
getTraceAsString()Exception
HasListener($handler)eRuntime
jsonSerialize()eRuntime\JsonSerializable::jsonSerialize
RemoveListener($handler)eRuntimeRemove the last added handler from the listeners.
Send($args)eRuntimeConstruct a new instance of this class with $args, then dispatch it to every listener.
SetListenerOrder($handler, $order)eRuntimeChange the order of an already-registered listener, whether added directly via AddListener or indirectly via ConnectListeners (which also stores its [$obj, $methodName] callables here).
__construct($origin, $format, $context, $previous, $code)eRuntime
__toString()Exception
__wakeup()Exception