Skip to content

Helpers

module Helpers
AssemblyThoth.Json.Core

Functions and values

prependPath<'JsonValue> (path: string) (string, ErrorReason<'JsonValue>) : DecoderError<'JsonValue>

Put a path segment in front of a failure's own path.

prependPathToResult<'T, 'JsonValue> (path: string) (res: Result<'T,DecoderError<'JsonValue>>) : Result<'T,DecoderError<'JsonValue>>

Put a path segment in front of a failed result's path.