``` Try { serviceURL.createContainerURL(containerN...
# arrow
s
Copy code
Try { serviceURL.createContainerURL(containerName) }.flatMap { containerUrl ->
  Try { containerURL.create().blockingGet() }.handleErrorWith {
    if (error is RestException && error.response().statusCode() != Conflict.value) Try.raiseError(UnableToCreateStorageContainer())
    else Try.just(containerUrl)
   }
}