Returns Promise<
{
errors?: { message: string; type: "error"
| "warning" }[];
model?: { data: unknown; kind: string };
rendered: string;
renderedErr?: string;
status: "error" | "ok";
trace?: {
executed?: string;
input: string;
proposed: string;
validated: boolean;
};
},
>
An envelope carrying the logout notice; on failure the data channel
still reports the logout and the error channel carries the reason.
Logs out from the current ChRIS CUBE session.