Create DelegationError class

Add line to end of file

Attempt to get test passing