示例工程 13-error-handling
13-error-handling/expected/stdout.txt
[13.1] 成功 = notes.md/hello
[13.1] 失败 = denied(/root/secret)
[13.2] Result 失败 = corrupted(line:3)
[13.3] try? 空路径 = true
[13.3] try? 正常 = ok.md
[13.4] rethrows 成功 = [1, 2, 3]
[13.4] rethrows 失败 = nil
[13.5] 成功路径 = ["open", "read", "close", "success"]
[13.5] 失败路径 = ["open", "close", "failure"]
[13.6] 类型化抛错 = empty/notANumber(x)/ok
[13.6] parseOrZero = 0
[13.6] MemoryLayout<Result<Int, LoadError>> = 18 字节
[13.6] MemoryLayout<LoadError> = 17 字节