fix(error): throw better error messages