from
Decodes a CantonError from a gRPC failure, or returns null if throwable is not a gRPC status error.
Decodes a CantonError from a google.rpc.Status proto — the form carried by command Completion events when the ledger rejects a command asynchronously (contention, time bounds). Uses the same google.rpc detail decoding as gRPC failures.