simplify how the 'subtype' option is added to errors
simplify how the 'subtype' option is added to errors

this is just a refactor to make things simpler and shorter

wezhang/vim-setup,wezhang/vim-setup,wezhang/vim-setup,wezhang/vim-setup,wezhang/vim-setup,nikmartin/dotfiles,wezhang/vim-setup