https://kotlinlang.org logo
#announcements
Title
# announcements
c

cy

08/22/2016, 3:05 PM
@dstarcev you also can consider
require(offer.status == OfferStatus.Draft) { "actual offer status is ${offer.status}" }
if you actually don't need particular exception type to be thrown