litert::Unexpected
Summary
Public functions
Error
constexpr const class Error & Error() const &noexcept
Error
constexpr class Error & Error()&noexcept
Error
constexpr const class Error && Error() const &&noexcept
Error
constexpr class Error && Error()&&noexcept
Unexpected
constexpr Unexpected(
Args &&... args
)
Unexpected
Unexpected(
class Error && e
)
Unexpected
Unexpected(
Unexpected && other
)=default
Unexpected
Unexpected(
const Unexpected & other
)=default
Friend classes
AbslStringify
friend void AbslStringify(Sink &sink, const Unexpected &unexpected)
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::Unexpected Class Reference\n\nlitert::Unexpected\n==================\n\nSummary\n-------\n\n| ### Constructors and Destructors ||\n|---|---|\n| [Unexpected](#classlitert_1_1_unexpected_1a947281eda2d8364cf1a4577363b82832)`(Args &&... args)` ||\n| [Unexpected](#classlitert_1_1_unexpected_1aae6b8672d75e92627ccf6e5120024e09)`(class `[Error](/edge/api/litert/c/classlitert/1-1-error#classlitert_1_1_error)` && e)` ||\n| [Unexpected](#classlitert_1_1_unexpected_1adf98a56d3cc1c765fc1117a10e4eff43)`(`[Unexpected](/edge/api/litert/c/classlitert/1-1-unexpected#classlitert_1_1_unexpected)` && other)` ||\n| [Unexpected](#classlitert_1_1_unexpected_1afe107120b9d7476b90f687a080ba9215)`(const `[Unexpected](/edge/api/litert/c/classlitert/1-1-unexpected#classlitert_1_1_unexpected)` & other)` ||\n\n| ### Public functions ||\n|-----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|------------------------------------------------------------------------------------------------------|\n| [Error](#classlitert_1_1_unexpected_1ad9ec6a35cce855174af33bb43ac83126)`() const &noexcept` | `constexpr const class `[Error](/edge/api/litert/c/classlitert/1-1-error#classlitert_1_1_error)` &` |\n| [Error](#classlitert_1_1_unexpected_1a616bdde6c905cabf4d2f341fb0d682a3)`()&noexcept` | `constexpr class `[Error](/edge/api/litert/c/classlitert/1-1-error#classlitert_1_1_error)` &` |\n| [Error](#classlitert_1_1_unexpected_1a3744cfca97b4cb510492617d340a20e8)`() const &&noexcept` | `constexpr const class `[Error](/edge/api/litert/c/classlitert/1-1-error#classlitert_1_1_error)` &&` |\n| [Error](#classlitert_1_1_unexpected_1a663688a35416b2b80adfc4b9353f2cb7)`()&&noexcept` | `constexpr class `[Error](/edge/api/litert/c/classlitert/1-1-error#classlitert_1_1_error)` &&` |\n| [operator=](#classlitert_1_1_unexpected_1a96063d99560ff4ef5c119cc2008b6033)`(`[Unexpected](/edge/api/litert/c/classlitert/1-1-unexpected#classlitert_1_1_unexpected)` && other)=default` | [Unexpected](/edge/api/litert/c/classlitert/1-1-unexpected#classlitert_1_1_unexpected)` &` |\n| [operator=](#classlitert_1_1_unexpected_1ac25b3a4cf79c3e6916c524c961b91b42)`(const `[Unexpected](/edge/api/litert/c/classlitert/1-1-unexpected#classlitert_1_1_unexpected)` & other)=default` | [Unexpected](/edge/api/litert/c/classlitert/1-1-unexpected#classlitert_1_1_unexpected)` &` |\n\n| ### Friend classes ||\n|---------------------------------------------------------------------------------|---------------|\n| [AbslStringify](#classlitert_1_1_unexpected_1ab47a27a85d0c0aaaaa384d933cfdc801) | `friend void` |\n\nPublic functions\n----------------\n\n### Error\n\n```gdscript\nconstexpr const class Error & Error() const &noexcept\n``` \n\n### Error\n\n```gdscript\nconstexpr class Error & Error()&noexcept\n``` \n\n### Error\n\n```gdscript\nconstexpr const class Error && Error() const &&noexcept\n``` \n\n### Error\n\n```gdscript\nconstexpr class Error && Error()&&noexcept\n``` \n\n### Unexpected\n\n```gdscript\nconstexpr Unexpected(\n Args &&... args\n)\n``` \n\n### Unexpected\n\n```text\n Unexpected(\n class Error && e\n)\n``` \n\n### Unexpected\n\n```text\n Unexpected(\n Unexpected && other\n)=default\n``` \n\n### Unexpected\n\n```gdscript\n Unexpected(\n const Unexpected & other\n)=default\n``` \n\n### operator=\n\n```text\nUnexpected & operator=(\n Unexpected && other\n)=default\n``` \n\n### operator=\n\n```gdscript\nUnexpected & operator=(\n const Unexpected & other\n)=default\n``` \n\nFriend classes\n--------------\n\n### AbslStringify\n\n```gdscript\nfriend void AbslStringify(Sink &sink, const Unexpected &unexpected)\n```"]]