Closed JorgenSmith closed 11 years ago
@mikehaertl or @phpnode can this please be merged? I just discovered another instance where this would have saved me some time.
I.e. would give me
Error fetching productVariant. CHttpException: Unable to resolve the request "productVariant/options".'
Instead of `exception 'CException' with message 'Property "Restyii\Client\Schema\Resource.code" is not defined.'``
which the master currently gives
(In this case the reason was that I had forgotten to create a controller file for a new resource)
Latest rebase caused a number of files to sneak into the PR. Closing and creating a new one; sorry.
Will provide meaningful exception when not authenticated Related to https://github.com/codemix/restyii/issues/35 .