Minor: add a toString for the UnknownFix exception

This commit is contained in:
Mike Hearn 2016-03-08 17:27:21 +01:00
parent 6ac05c2edb
commit d63a3a8923

View File

@ -163,5 +163,7 @@ object NodeInterestRates {
}
}
class UnknownFix(val fix: FixOf) : Exception()
class UnknownFix(val fix: FixOf) : Exception() {
override fun toString() = "Unknown fix: $fix"
}
}