toError method

Error<T> toError({
  1. required Object error,
})

Implementation

Error<T> toError({required Object error}) => Error(error: error);