Skip to content
This repository has been archived by the owner on May 21, 2020. It is now read-only.

Commit

Permalink
revert KinesisWorkerSourceError back
Browse files Browse the repository at this point in the history
  • Loading branch information
CatTail committed Aug 30, 2018
1 parent e491980 commit d2cde96
Showing 1 changed file with 5 additions and 2 deletions.
7 changes: 5 additions & 2 deletions src/main/scala/aserralle/akka/stream/kcl/Errors.scala
Original file line number Diff line number Diff line change
Expand Up @@ -5,8 +5,11 @@
package aserralle.akka.stream.kcl

object Errors {
sealed class KinesisWorkerSourceError(err: Throwable) extends Throwable(err)

case class WorkerUnexpectedShutdown(cause: Throwable)
extends Throwable(cause)
extends KinesisWorkerSourceError(cause)

case class BackpressureTimeout(cause: Throwable) extends Throwable(cause)
case class BackpressureTimeout(cause: Throwable)
extends KinesisWorkerSourceError(cause)
}

0 comments on commit d2cde96

Please sign in to comment.