Croma.Result.map_error

You're seeing just the function map_error, go back to Croma.Result module for more information.

Specs

map_error(t(a), (any() -> any())) :: t(a) when a: any()

Transforms a result by applying a function to its contained :error value. If the given result is in :ok state it is returned without using the given function.