Something went wrong. Try again.
Dagger 1.0.0 beta SDK experiments
dagger purescript gleam clojure
Something went wrong. Try again.
737 B · 27 lines
at main
12345678910111213141516171819202122232425262728-- Generated by scripts/generate.mjs. Do not edit.module Dagger.Error ( id , message , values , withValue ) where
import Effect.Aff (Aff)import Dagger.Internal.Runtime as Rimport Dagger.Types as T
-- | A unique identifier for this Error.id :: T.Error -> Aff T.IDid = R.scalar "id" []
-- | A description of the error.message :: T.Error -> Aff Stringmessage = R.scalar "message" []
-- | The extensions of the error.values :: T.Error -> Aff (Array T.ErrorValue)values = R.objectList "ErrorValue" "values" []
-- | Add a value to the error.withValue :: String -> T.JSON -> T.Error -> T.ErrorwithValue argName argValue = R.select "withValue" [R.argument "name" "String!" argName, R.argument "value" "JSON!" argValue]