Module

Node.Library.Execa.Utils

Package
purescript-node-execa
Repository
jordanmartinez/purescript-node-execa

#utf8 Source

utf8 :: { toBuffer :: String -> ImmutableBuffer, toString :: ImmutableBuffer -> String }

#CustomError Source

newtype CustomError :: forall k. k -> Typenewtype CustomError rows

Constructors

#toError Source

toError :: forall rows. CustomError rows -> Error

#getErrorOption Source

getErrorOption :: forall sym a tail rows. IsSymbol sym => Cons sym a tail rows => Lacks "name" rows => Lacks "message" rows => Proxy sym -> CustomError rows -> a

#buildCustomErrorImpl Source

buildCustomErrorImpl :: forall rows. Fn2 String (Record rows) (CustomError rows)

#buildCustomError Source

buildCustomError :: forall rows. Lacks "name" rows => Lacks "message" rows => String -> Record rows -> CustomError rows

#bracketEffect Source

bracketEffect :: forall a b. Effect a -> (a -> Effect Unit) -> (a -> Effect b) -> Effect b

#newPassThroughStream Source