Merge pull request #187 from dnephin/non-nil-type-errors

assert: Fix NilError, error non-nil type