Error is a sealed class that represents the result of an operation that has failed.
ResultS1SDK<Nothing, E> the result of the operation.
E the error that occurred.