Sonolus Wiki

ServerMessage

ServerMessage provides a message for Sonolus app to display.

Syntax

type ServerMessage = {
    message?: string
}

Examples

{
    "message": "..."
}

Remarks

For error responses of all server endpoints and resources, ServerMessage can be optionally returned.