Results of 1 - 2 of about 2 for labels (0.001 sec.)
- MongoDB\Driver\Exception\RuntimeException::hasErrorLabel — Returns whether an e... 11228
- MongoDB\Driver\Exception\RuntimeException::hasErrorLabel (mongodb >= 1.6.0) MongoDB\Driver\Exception\RuntimeException::hasErrorLabel — Returns whether an error label is associated with an exception 説明 final public function MongoDB\Driver\
... xception::hasErrorLabel ( string $errorLabel ): bool Returns whether the errorLabel has been set for this exception. Error labels are set by either the server or the extension to indicate specific situations that may be handled by an application. A com ... ely retry a transaction that failed due to a transient error (e.g. network error, transaction conflict). Examples of error labels are TransientTransactionError and UnknownTransactionCommitResult . パラメータ errorLabel The name of the errorLabel to tes ...
-
https://man.mtool.work/php/8.3/mongodb-driver-runtimeexception.haserrorlabel.htm...
- The MongoDB\Driver\Exception\RuntimeException class | PHP 8.3 7485
- The MongoDB\Driver\Exception\RuntimeException class (mongodb >= 1.0.0) はじめに Thrown when the driver encounters a runtime error (e.g. internal error from » libmongoc ). クラス概要 class MongoDB\Driver\Exception\RuntimeException extends Ru
... ntimeException implements MongoDB\Driver\Exception\Exception { /* プロパティ */ protected ? array $ errorLabels ; /* 継承したプロパティ */ protected string $ message = "" ; private string $ string = "" ; protected int $ code ; protect ... (): string public function Exception::__toString (): string private function Exception::__clone (): void } プロパティ errorLabels Contains an array of error labels to go with an exception. For example, error labels can be used to detect whether a trans ... action can be retried safely if the TransientTransactionError label is present. The existence of a specific error label should be tested for with the MongoDB\Driver\Exception\RuntimeException::hasErrorLabel() , instead of interpreting this err ...
-
https://man.mtool.work/php/8.3/class.mongodb-driver-exception-runtimeexception.h...
PREV
1
NEXT