ErrorCode
in package
Table of Contents
Constants
- ERROR_CODE_MAP = [0x0 => '#NULL!', 0x7 => '#DIV/0!', 0xf => '#VALUE!', 0x17 => '#REF!', 0x1d => '#NAME?', 0x24 => '#NUM!', 0x2a => '#N/A']
Methods
- lookup() : string|bool
- Map error code, e.g. '#N/A'.
Constants
ERROR_CODE_MAP
private
mixed
ERROR_CODE_MAP
= [0x0 => '#NULL!', 0x7 => '#DIV/0!', 0xf => '#VALUE!', 0x17 => '#REF!', 0x1d => '#NAME?', 0x24 => '#NUM!', 0x2a => '#N/A']
Methods
lookup()
Map error code, e.g. '#N/A'.
public
static lookup(int $code) : string|bool
Parameters
- $code : int