1. 5
  1.  

  2. 1

    That function for creating new errors takes in effectively untyped parameters, which means it would be easy to pass in a param of the wrong type and have this not caught by the compiler.