PLBWEB_CGI_ERRLEVEL Keyword


9.8A

This keyword specifies the error details to be incuded in a HTTP 500 error response when a REST API program encounters untrapped PLB errors. By default when this keyword is not used is the same as specifying a value of 0.

     PLBWEB_CGI_ERRLEVEL={ 0 | 1 | 2 }

Note:

1.   When a PLB REST API program encounters an untrapped error, the PLB runtimes sends a HTTP 500 Internal server error response.

2.   When an untrapped error is generated, the HTTP 500 error response can include PL/B error details when the PWS 'PLBWEB_CGI_ERRLEVEL' is set as follows:

 

Value

Meaning

0

The default behavior is used where NO untrapped program error information is returned.

1

Basic untrapped program error information is returned.

2

Extended untrapped program error information is returned.

>2

Uses the default value of 0.

 

 

See Also: PLBWEBSRV Keywords, Server Command Line



PL/B Web Server PLBWEB_DEFAULT PLBWEB_CGI_INFODIR