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
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
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 {