Added error code for AttributeError.
Merge branch 'master' of github.com:ddsc/dikedata-api