Returns a ConfigOrError for the successfully converted data object.
(T config)
| 26 | * Returns a {@link ConfigOrError} for the successfully converted data object. |
| 27 | */ |
| 28 | static <T> ConfigOrError<T> fromConfig(T config) { |
| 29 | return new ConfigOrError<>(config); |
| 30 | } |
| 31 | |
| 32 | /** |
| 33 | * Returns a {@link ConfigOrError} for the failure to convert the data object. |
no outgoing calls