getLastError
getLastError は、取り消し不可能、照会不可能、および編集不可能です。
この MEL 専用コマンドは、最後の(最近の)エラーを返します。以前にエラーがない場合、空文字列が返されます。| string | コマンドの結果 |
catchQuiet(`someUnknownCommand`); // To store the last (most recent) MEL error: string $lastError=getLastError(); // The error output will be stored in $lastError