Module

FPO.Data.AppError

#ErrorId

type ErrorId = Int

#AppErrorWithId

type AppErrorWithId = { error :: AppError, errorId :: ErrorId }

#printAjaxError

printAjaxError :: String -> Error -> String

Prints an error message based on the type of error. The error message is prefixed with the provided string.

#showToastError

Modules