project BLF > class PAuthentication > method GetMessage

function returns character


Parameters


icErrorCodeinputcharacter


Internal usage


BLF
method PAuthentication.AuthenticateWrapper
method Session.ExitInstance
method Session.ValidateLogin


program code (program1/pauthentication.p)

find tErrorCode where
     tErrorCode.tcErrorCode = icErrorCode
     no-error.
     
return if available tErrorCode
       then tErrorCode.tcErrorMessage
       else trim(subst(#T-1'Unknown error code &1.':250(8168)T-1#, icErrorCode)).