Documentation
¶
Index ¶
Constants ¶
View Source
const ( ExitSuccess = 0 ExitGeneral = 1 ExitUsage = 2 ExitAuth = 3 ExitPermission = 4 ExitNotFound = 5 ExitRateLimit = 6 ExitServer = 7 )
Exit codes.
Variables ¶
This section is empty.
Functions ¶
func FormatAPIError ¶
FormatAPIError formats a Notion API error with an actionable hint.
func FormatError ¶
FormatError converts an error to user-friendly output.
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.