« PHP 8.3 Manual トップ
著作権 »
per page, with , order by , clip by
Results of 1 - 10 of about 408 for getMessage (0.006 sec.)
例外メッセージを取得する 9312
« Exception::__construct Exception::getPrevious » PHP Manual Exception 例外メッセージを取得する 検索 Exception::getMessage (PHP 5, PHP 7, PHP 8) Exception::getMessage — 例外メッセージを取得する 説明 final public function Exception::getMessage ... セージを返します。 パラメータ この関数にはパラメータはありません。 戻り値 例外メッセージ文字列を返します。 例 例1 Exception::getMessage() の例 <?php try { throw new Exception ( "Some error message" ); } catch( Exception $e ) { echo $e -> getMessage (); } ?> ... 上の例の出力は、 たとえば以下のようになります。 Some error message 参考 Throwable::getMessage() - メッセージを取得する 関連キーワード: Exception メッセージ getMessage error message construct getPrevious final throw c ...
https://man.mtool.work/php/8.3/exception.getmessage.html
エラーメッセージを取得する 9243
« Error::__construct Error::getPrevious » PHP Manual Error エラーメッセージを取得する 検索 Error::getMessage (PHP 7, PHP 8) Error::getMessage — エラーメッセージを取得する 説明 final public function Error::getMessage (): string エラーメッセー ... ジを返します。 パラメータ この関数にはパラメータはありません。 戻り値 エラーメッセージを文字列で返します。 例 例1 Error::getMessage() の例 <?php try { throw new Error ( "Some error message" ); } catch( Error $e ) { echo $e -> getMessage (); } ?> 上の例の ... 出力は、 たとえば以下のようになります。 Some error message 参考 Throwable::getMessage() - メッセージを取得する 関連キーワード: getMessage エラーメッセージ error message construct getPrevious final throw catch ...
https://man.mtool.work/php/8.3/error.getmessage.html
例外メッセージを取得する 9184
« Exception::__construct Exception::getPrevious » PHP Manual Exception 例外メッセージを取得する 検索 Exception::getMessage (PHP 5, PHP 7, PHP 8) Exception::getMessage — 例外メッセージを取得する 説明 final public function Exception::getMessage ... セージを返します。 パラメータ この関数にはパラメータはありません。 戻り値 例外メッセージ文字列を返します。 例 例1 Exception::getMessage() の例 <?php try { throw new Exception ( "Some error message" ); } catch( Exception $e ) { echo $e -> getMessage (); } ?> ... 上の例の出力は、 たとえば以下のようになります。 Some error message 参考 Throwable::getMessage() - メッセージを取得する 関連キーワード: Exception メッセージ getMessage 例外 パラメータ error message construct Search ge ...
https://man.mtool.work/php/8.3/exception.getmessage.html
エラーメッセージを取得する 9116
« Error::__construct Error::getPrevious » PHP Manual Error エラーメッセージを取得する 検索 Error::getMessage (PHP 7, PHP 8) Error::getMessage — エラーメッセージを取得する 説明 final public function Error::getMessage (): string エラーメッセー ... ジを返します。 パラメータ この関数にはパラメータはありません。 戻り値 エラーメッセージを文字列で返します。 例 例1 Error::getMessage() の例 <?php try { throw new Error ( "Some error message" ); } catch( Error $e ) { echo $e -> getMessage (); } ?> 上の例の ... 出力は、 たとえば以下のようになります。 Some error message 参考 Throwable::getMessage() - メッセージを取得する 関連キーワード: Error getMessage エラーメッセージ パラメータ error message construct Search getPr ...
https://man.mtool.work/php/8.3/error.getmessage.html
Returns the WriteError's error message 7880
« MongoDB\Driver\WriteError::getInfo MongoDB\Driver\WriteResult » PHP Manual MongoDB\Driver\WriteError Returns the WriteError's error message 検索 MongoDB\Driver\WriteError::getMessage (mongodb >=1.0.0) MongoDB\Driver\WriteError::getMessage ... — Returns the WriteError's error message 説明 final public function MongoDB\Driver\WriteError::getMessage (): string パラメータ この関数にはパラメータはありません。 戻り値 Returns the WriteError's error message. エラー / 例外 Th ... rows MongoDB\Driver\Exception\InvalidArgumentException on argument parsing errors. 例 例1 MongoDB\Driver\WriteError::getMessage() example <?php $manager = new MongoDB\Driver\Manager ; $bulk = new MongoDB\Driver\BulkWrite ; $bulk -> insert ([ '_id' => ... } catch( MongoDB\Driver\Exception\BulkWriteException $e ) { var_dump ( $e -> getWriteResult ()-> getWriteErrors ()[ 0 ]-> getMessage ()); } ?> 上の例の出力は、 たとえば以下のようになります。 string(70) "E11000 duplicate key error index: db.collection.$_id ...
https://man.mtool.work/php/8.3/mongodb-driver-writeerror.getmessage.html
Returns the WriteError's error message 7880
« MongoDB\Driver\WriteError::getInfo MongoDB\Driver\WriteResult » PHP Manual MongoDB\Driver\WriteError Returns the WriteError's error message 検索 MongoDB\Driver\WriteError::getMessage (mongodb >=1.0.0) MongoDB\Driver\WriteError::getMessage ... — Returns the WriteError's error message 説明 final public function MongoDB\Driver\WriteError::getMessage (): string パラメータ この関数にはパラメータはありません。 戻り値 Returns the WriteError's error message. エラー / 例外 Th ... rows MongoDB\Driver\Exception\InvalidArgumentException on argument parsing errors. 例 例1 MongoDB\Driver\WriteError::getMessage() example <?php $manager = new MongoDB\Driver\Manager ; $bulk = new MongoDB\Driver\BulkWrite ; $bulk -> insert ([ '_id' => ... } catch( MongoDB\Driver\Exception\BulkWriteException $e ) { var_dump ( $e -> getWriteResult ()-> getWriteErrors ()[ 0 ]-> getMessage ()); } ?> 上の例の出力は、 たとえば以下のようになります。 string(70) "E11000 duplicate key error index: db.collection.$_id ...
https://man.mtool.work/php/8.3/mongodb-driver-writeerror.getmessage.html
メッセージを取得する 7812
« Throwable Throwable::getCode » PHP Manual Throwable メッセージを取得する 検索 Throwable::getMessage (PHP 7, PHP 8) Throwable::getMessage — メッセージを取得する 説明 public function Throwable::getMessage (): string スローされたオブジェクト ... この関数にはパラメータはありません。 戻り値 スローされたオブジェクトに関連づけられたメッセージを返します。 参考 Exception::getMessage() - 例外メッセージを取得する 関連キーワード: メッセージ Throwable getMessage 関連 getCode 参考 Exception ...
https://man.mtool.work/php/8.3/throwable.getmessage.html
Returns the WriteConcernError's error message 7744
« MongoDB\Driver\WriteConcernError::getInfo MongoDB\Driver\WriteError » PHP Manual MongoDB\Driver\WriteConcernError Returns the WriteConcernError's error message 検索 MongoDB\Driver\WriteConcernError::getMessage (mongodb >=1.0.0) MongoDB\Dr ... iver\WriteConcernError::getMessage — Returns the WriteConcernError's error message 説明 final public function MongoDB\Driver\WriteConcernError::getMessage () ... ows MongoDB\Driver\Exception\InvalidArgumentException on argument parsing errors. 例 例1 MongoDB\Driver\WriteConcernError::getMessage() example <?php $manager = new MongoDB\Driver\Manager ( "mongodb://rs1.example.com,rs2.example.com/?replicaSet=myReplicaSe ... } catch( MongoDB\Driver\Exception\BulkWriteException $e ) { var_dump ( $e -> getWriteResult ()-> getWriteConcernError ()-> getMessage ()); } ?> 上の例の出力は、 たとえば以下のようになります。 string(33) "waiting for replication timed out" 参考 » Write Conc ...
https://man.mtool.work/php/8.3/mongodb-driver-writeconcernerror.getmessage.html
Returns the WriteConcernError's error message 7744
« MongoDB\Driver\WriteConcernError::getInfo MongoDB\Driver\WriteError » PHP Manual MongoDB\Driver\WriteConcernError Returns the WriteConcernError's error message 検索 MongoDB\Driver\WriteConcernError::getMessage (mongodb >=1.0.0) MongoDB\Dr ... iver\WriteConcernError::getMessage — Returns the WriteConcernError's error message 説明 final public function MongoDB\Driver\WriteConcernError::getMessage () ... ows MongoDB\Driver\Exception\InvalidArgumentException on argument parsing errors. 例 例1 MongoDB\Driver\WriteConcernError::getMessage() example <?php $manager = new MongoDB\Driver\Manager ( "mongodb://rs1.example.com,rs2.example.com/?replicaSet=myReplicaSe ... } catch( MongoDB\Driver\Exception\BulkWriteException $e ) { var_dump ( $e -> getWriteResult ()-> getWriteConcernError ()-> getMessage ()); } ?> 上の例の出力は、 たとえば以下のようになります。 string(33) "waiting for replication timed out" 参考 » Write Conc ...
https://man.mtool.work/php/8.3/mongodb-driver-writeconcernerror.getmessage.html
メッセージを取得する 7616
« Throwable Throwable::getCode » PHP Manual Throwable メッセージを取得する 検索 Throwable::getMessage (PHP 7, PHP 8) Throwable::getMessage — メッセージを取得する 説明 public function Throwable::getMessage (): string スローされたオブジェクト ... この関数にはパラメータはありません。 戻り値 スローされたオブジェクトに関連づけられたメッセージを返します。 参考 Exception::getMessage() - 例外メッセージを取得する 関連キーワード: メッセージ Throwable getMessage オブジェクト 関連 パラメータ Search getCode f ...
https://man.mtool.work/php/8.3/throwable.getmessage.html
PREV 1 2 3 4 5 6 7 8 9 10 NEXT