Page History
Error tracking and reporting utility.
Syntax
Code Block |
---|
Response = Error_Services(@Service, @Params) |
Returns
The meaning of the response value depends on the service.
Parameters
Parameter | Description |
---|---|
@Service | The name of the service being requested. Required. |
@Params | Generic parameters. Refer to a specific service to determine the actual parameters used. |
Remarks
This SRP FrameWorks utility service is a general purpose error tracking and reporting utility. It provides simple services like Set
, Get
, and Add
. Unlike OpenInsight error routines, Error_Services
does does not interfere with normal operations even if a previous error condition was set. The developer is given the right (and responsibility) to make these decisions.
Services
Service | Description |
---|---|
Set | Usage: Comments: Returns: |
Add | Usage: Comments: Returns: |
Clear | Usage: Comments: Returns: |
GetMessage | Usage: Comments: Returns: |
GetMessages | Usage: Comments: Returns: |
HasError | Usage: Comments:
Returns: |
NoError | Usage: Comments: Returns: |
DisplayError | Usage: Comments: Returns: |
Params
The proper use of the generic arguments are defined in the definition of each service above The Set
service always clears any previous error condition before updating the error status whereas the Add
service appends the error status.