1
Member.afterRemoteError('assignDepartment', function (ctx, next) {
    console.log("in after remote error");
    next();
  });

enter image description here

I tried

console.log(Member.afterRemoteError)

but got undefined :(

I am using strongloop v3.0.6

Jordan Kasper
  • 13,153
  • 3
  • 36
  • 55
mitesh
  • 916
  • 9
  • 13

1 Answers1

1

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.

STRML
  • 932
  • 11
  • 8