formZ SDK | 5.0 API Reference | System | Runtime Library (FZRT) | Basic

# fzrt_error_severity_enum

Description

formZ error severities. The severity of an error is defined when the error is set with fzrt_error_set. These values can be combined for fzrt_error_exists function.

enum fzrt_error_severity_enum {

FZRT_ERROR_SEVERITY_FATAL,

FZRT_ERROR_SEVERITY_ERROR,

FZRT_ERROR_SEVERITY_CANCEL,

FZRT_ERROR_SEVERITY_WARNING,

FZRT_ERROR_SEVERITY_INFO,

FZRT_ERROR_SEVERITY_DEBUG,

FZRT_ERROR_SEVERITY_ANY };

Members

FZRT_ERROR_SEVERITY_FATAL

super fatal error, abort program

FZRT_ERROR_SEVERITY_ERROR

fatal error, something could not be completed

FZRT_ERROR_SEVERITY_CANCEL

operation canceled, user interrupted

FZRT_ERROR_SEVERITY_WARNING

warning, something unexpected but manageable

FZRT_ERROR_SEVERITY_INFO

info, let user know what happened that was different than expected

FZRT_ERROR_SEVERITY_DEBUG

debug, only an error for debug builds

FZRT_ERROR_SEVERITY_ANY

mask for any error in call to fzrt_error_exists

Availability

5.0.0.0

See Also

fzrt_error_exists, fzrt_error_set, fzrt_error_set, fzrt_error_set_with_detail

Defined in

fzrt_api_type.h