1
0
mirror of https://github.com/vlang/v.git synced 2023-08-10 21:13:21 +03:00

all: implement error interfaces (#9291)

This commit is contained in:
spaceface
2021-03-13 18:13:50 +01:00
committed by GitHub
parent 167dcc415d
commit e9797c618a
15 changed files with 143 additions and 145 deletions

View File

@@ -207,7 +207,7 @@ fn (vd VDoc) get_readme(path string) string {
return readme_contents
}
fn (vd VDoc) emit_generate_err(err Error) {
fn (vd VDoc) emit_generate_err(err IError) {
cfg := vd.cfg
mut err_msg := err.msg
if err.code == 1 {