[Overview][Constants][Procedures and functions][Index] | Reference for unit 'errors' (#rtl)

# StrError

Convert an error code to a string

## Declaration

Source position: errors.pp line 22

`function StrError(`
`err: cint`
`):string;`

## Arguments

`err` |  | Error code to return string from

## Function result

Error message corresponding to error code Err

## Description

StrError will convert the error code err to a string.

## Errors

If the error code is unknown or out of bounds, an 'Unknown error (err)' string will be returned.

## See also

PError |  | Print error on standard error output

Documentation generated on: May 14 2021