v/vlib/context/err.v

13 lines
131 B
V
Raw Normal View History

module context
const none_ = IError(&None{})
struct None {
msg string
code int
}
fn (_ None) str() string {
return 'none'
}