Member.afterRemoteError('assignDepartment', function (ctx, next) {
console.log("in after remote error");
next();
});
I tried
console.log(Member.afterRemoteError)
but got undefined :(
I am using strongloop v3.0.6
Member.afterRemoteError('assignDepartment', function (ctx, next) {
console.log("in after remote error");
next();
});
I tried
console.log(Member.afterRemoteError)
but got undefined :(
I am using strongloop v3.0.6
It looks as though that has not yet been released, and thus its inclusion in documentation was premature.
Expect ModelCtor.afterRemoteError
to be implemented in the next release. You can get it today if you pull the dependency from github.