Currently, from Scala, we only can retrieve resulting status code and status text of a given called function when there is an error, so we can work with error status codes, but we can't work with the success status codes - this might be important if we want to use it in Scala for some business logic or so.
Background
Currently, from Scala, we only can retrieve resulting status code and status text of a given called function when there is an error, so we can work with error status codes, but we can't work with the success status codes - this might be important if we want to use it in Scala for some business logic or so.