type error interface { Error() string }
当用 fmt 包的多种不同的打印函数输出一个 error 时,会自动的调用该方法。
fmt
error
{$ activeFileHint $}