morph 0.1.0
Asynchronous bridge between GUI thread and business models
Loading...
Searching...
No Matches
morph::session::TokenIssuanceError Struct Reference

Thrown by TokenIssuer::issue if serialising the claims fails. More...

#include <session_auth.hpp>

Inheritance diagram for morph::session::TokenIssuanceError:

Detailed Description

Thrown by TokenIssuer::issue if serialising the claims fails.

Not realistically reachable for SessionToken (a flat aggregate of strings/integers, same as journal::LogEntry/FileQueueRecord), but routing through a throwing helper rather than discarding the error keeps this writer consistent with its two sibling writers (journal::toJson/offline::detail::toJson), instead of silently serialising a claims blob that later fails to decode.

Definition at line 326 of file session_auth.hpp.


The documentation for this struct was generated from the following file: