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

# fzrt_error_exists

Description

This will check for the existence of a specific type of error.

Plugin Prototype

fzrt_boolean fzrt_error_exists(

fzrt_int | err,
fzrt_int | severity_mask,
fzrt_int | context_mask,
fzrt_unsigned_int | context_id,
fzrt_boolean | last_only )

Parameters

err [Input]

error ID to check

severity_mask [Input]

Mask of severity levels to check

context_mask [Input]

Mask of contexts to check. Bits in mask can be bitwise OR-ed together using fzrt_error_context_enum

context_id [Input]

context id to check or FZRT_ERROR_CONTEXT_ANY for all

last_only [Input]

TRUE to check only the most recent error

Returns

TRUE if error occurred, FALSE otherwise.

Availability

5.0.0.0

See Also

fzrt_error_set, fzrt_error_severity_enum, fzrt_error_context_enum

Function Set

fz_fzrt_base_fset

Defined in

fzrt_api.h