Skip to content

Commit

Permalink
make FinalReason a case class
Browse files Browse the repository at this point in the history
CHANGELOG_BEGIN
CHANGELOG_END
  • Loading branch information
andreaslochbihler-da committed Aug 18, 2021
1 parent 3227e86 commit 71e451c
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -343,7 +343,7 @@ object Update {
}

/** The status code for the command rejection. */
final class FinalReason(override val status: RpcStatus) extends RejectionReasonTemplate {
final case class FinalReason(override val status: RpcStatus) extends RejectionReasonTemplate {
override def message: String = status.message

override def code: Int = status.code
Expand Down

0 comments on commit 71e451c

Please sign in to comment.