requireBytes

fun requireBytes(address: String): ByteString

Like bytes, but throws IllegalStateException if the resource is missing.