refactor(exceptions): use minErr exceptions