Utils::ResultError Class
class Utils::ResultErrorResultError 클래스는 함수에서 사용자에게 오류 메시지가 포함된 오류를 반환하는 데 사용됩니다. 더 보기...
| Header: | #include <ResultError> |
공개 함수
| ResultError(const QString &errorMessage) | |
| ResultError(Utils::ResultSpecialErrorCode code, const QString &errorMessage = {}) |
상세 설명
이 클래스는 오류 메시지 문자열을 사용하는 편리한 생성자 외에도, Utils::ResultSpecialErrorCode 열거형을 통해 내부 오류에 대한 표준화된 오류 메시지를 제공합니다.
Utils::Result 및 Utils::ResultSpecialErrorCode도 참조하십시오 .
멤버 함수 설명
[explicit] ResultError::ResultError(const QString &errorMessage)
지정된 ‘ errorMessage ’을 사용하여 사용자에게 오류를 발생시킵니다.
ResultError::ResultError(Utils::ResultSpecialErrorCode code, const QString &errorMessage = {})
표준화된 오류 메시지와 함께 오류를 생성합니다. 오류에 대한 자세한 내용을 제공하려면 ` errorMessage `를 사용하십시오.
Utils::ResultSpecialErrorCode도 참조하십시오 .
Copyright © The Qt Company Ltd. and other contributors. Documentation contributions included herein are the copyrights of their respective owners. The documentation provided herein is licensed under the terms of the GNU Free Documentation License version 1.3 as published by the Free Software Foundation. Qt and respective logos are trademarks of The Qt Company Ltd in Finland and/or other countries worldwide. All other trademarks are property of their respective owners.