fromMessage<T> static method

Failure<T> fromMessage<T>(
  1. Message message
)

Implementation

static Failure<T> fromMessage<T>(Message message) => Failure(
  message.code,
  message.message,
);