litert::Error
Summary
Constructors and Destructors
|
Error(LiteRtStatus status, std::string message)
|
Public functions
|
Message() const
|
const std::string &
|
Status() const
|
constexpr LiteRtStatus
|
Public functions
Error
Error(
LiteRtStatus status,
std::string message
)
Message
const std::string & Message() const
Status
constexpr LiteRtStatus Status() const
Friend classes
AbslStringify
friend void AbslStringify(Sink &sink, const Error &error)
operator<<
friend std::ostream & operator<<(std::ostream &stream, const Error &error)
Except as otherwise noted, the content of this page is licensed under the Creative Commons Attribution 4.0 License, and code samples are licensed under the Apache 2.0 License. For details, see the Google Developers Site Policies. Java is a registered trademark of Oracle and/or its affiliates.
Last updated 2025-05-14 UTC.
[[["Easy to understand","easyToUnderstand","thumb-up"],["Solved my problem","solvedMyProblem","thumb-up"],["Other","otherUp","thumb-up"]],[["Missing the information I need","missingTheInformationINeed","thumb-down"],["Too complicated / too many steps","tooComplicatedTooManySteps","thumb-down"],["Out of date","outOfDate","thumb-down"],["Samples / code issue","samplesCodeIssue","thumb-down"],["Other","otherDown","thumb-down"]],["Last updated 2025-05-14 UTC."],[],[],null,["# litert::Error Class Reference\n\nlitert::Error\n=============\n\nSummary\n-------\n\n| ### Constructors and Destructors ||\n|---|---|\n| [Error](#classlitert_1_1_error_1a24e6a73bba8a514a79690a02742cfdf6)`(LiteRtStatus status, std::string message)` ||\n\n| ### Public functions ||\n|---------------------------------------------------------------------------------|--------------------------|\n| [Message](#classlitert_1_1_error_1a52330e32af9022e04079dc0d676df9e3)`() const ` | `const std::string &` |\n| [Status](#classlitert_1_1_error_1acefa0ba99ff8775584dcd6b44db68aeb)`() const ` | `constexpr LiteRtStatus` |\n\n| ### Friend classes ||\n|----------------------------------------------------------------------------|-------------------------|\n| [AbslStringify](#classlitert_1_1_error_1aa977176d3b9203fa9ea0d577bc0cb818) | `friend void` |\n| [operator\u003c\u003c](#classlitert_1_1_error_1ae45822aef5901508793415fff642bef0) | `friend std::ostream &` |\n\nPublic functions\n----------------\n\n### Error\n\n```text\n Error(\n LiteRtStatus status,\n std::string message\n)\n``` \n\n### Message\n\n```gdscript\nconst std::string & Message() const \n``` \n\n### Status\n\n```gdscript\nconstexpr LiteRtStatus Status() const \n``` \n\nFriend classes\n--------------\n\n### AbslStringify\n\n```gdscript\nfriend void AbslStringify(Sink &sink, const Error &error)\n``` \n\n### operator\\\u003c\\\u003c\n\n```gdscript\nfriend std::ostream & operator\u003c\u003c(std::ostream &stream, const Error &error)\n```"]]