Guest User

Untitled

a guest
Oct 20th, 2018
69
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.23 KB | None | 0 0
  1. trait Interceptor[B] {
  2.  
  3. def steal: RequestHeader => ValidationNEL[String, B]
  4. def err: (RequestHeader, Failure[NonEmptyList[String], B]) => Result
  5.  
  6. def apply[A](a: B => Action[A]): Action[(Action[A], A)] = {
  7. //[...]
  8. }
  9. }
Add Comment
Please, Sign In to add comment