50 public static function get(
int $errorType) : string{
51 if(!isset(self::ERROR_STRINGS[$errorType])){
54 if(defined(
"E_STRICT") && $errorType === 2048){
57 throw new \InvalidArgumentException(
"Invalid error type $errorType");
60 return self::ERROR_STRINGS[$errorType];