Error.format 函数

更新:2007 年 11 月

创建一个表示 Sys.FormatException 异常的 Error 对象。

public static function format(
        message : String
) : Object

参数

参数

说明

message

(可选)错误消息字符串。该值可以为 null。如果 message 为 null,则使用默认消息。

返回值

一个表示 FormatException 对象的对象。

请参见

参考

Error 类型扩展