Fail Better: Turning Software Errors into Documentation

The Power of Context

Identify Slippery Slopes

Problem-Cause-Solution

Applying P-C-S to Pragma

NoMethodError: undefined method `new' for nil:NilClass
You are attempting to use the Model macro, but no `model.class` skill is defined.This can happen when a required class (e.g. the contract class) is not in the expected location.To solve the problem, move the class to its expected location or, if you want to provide the class manually, add the following to your operation:    self['model.class'] = MyCustomClassIf you don't have the class, you will have to skip the macro that requires it.

Over to You!

Technology leader and strategic advisor. I work at the intersection of people, software and words.

Get the Medium app

A button that says 'Download on the App Store', and if clicked it will lead you to the iOS App store
A button that says 'Get it on, Google Play', and if clicked it will lead you to the Google Play store