Safe Haskell | None |
---|---|
Language | Haskell2010 |
Blockfrost types
Synopsis
-
data
ApiError
=
ApiError
{
- apiError :: Text
- apiErrorMessage :: Text
- apiErrorCode :: Int
- module Blockfrost.Types.Cardano
- module Blockfrost.Types.Common
- module Blockfrost.Types.IPFS
- module Blockfrost.Types.NutLink
- module Blockfrost.Types.Shared
Documentation
Fancy JSON error returned by the server
ApiError | |
|
Instances
Eq ApiError Source # | |
Show ApiError Source # | |
Generic ApiError Source # | |
ToJSON ApiError Source # | |
FromJSON ApiError Source # | |
type Rep ApiError Source # | |
Defined in Blockfrost.Types.ApiError
type
Rep
ApiError
=
D1
('
MetaData
"ApiError" "Blockfrost.Types.ApiError" "blockfrost-api-0.4.0.1-A9W5au7R2kOUA8M8hTMe9" '
False
) (
C1
('
MetaCons
"ApiError" '
PrefixI
'
True
) (
S1
('
MetaSel
('
Just
"apiError") '
NoSourceUnpackedness
'
NoSourceStrictness
'
DecidedLazy
) (
Rec0
Text
)
:*:
(
S1
('
MetaSel
('
Just
"apiErrorMessage") '
NoSourceUnpackedness
'
NoSourceStrictness
'
DecidedLazy
) (
Rec0
Text
)
:*:
S1
('
MetaSel
('
Just
"apiErrorCode") '
NoSourceUnpackedness
'
NoSourceStrictness
'
DecidedLazy
) (
Rec0
Int
))))
|
module Blockfrost.Types.Cardano
module Blockfrost.Types.Common
module Blockfrost.Types.IPFS
module Blockfrost.Types.NutLink
module Blockfrost.Types.Shared