damjack / elm-newrelic-nreum / NewRelic.NREUM.NoticeError

Identifies a browser error without disrupting your app's operations. Use this call to notice or log your app's handled or other miscellaneous errors. This is useful when you have caught and handled an error, but you still want to identify it without disrupting your app's operation.

Configuration


type NoticeError

NoticeError type

Configuration Methods

init : String -> String -> NoticeError

Build Nreum NoticeError with specific action name

Overlay Configuration

addAdditionalData : NewRelic.AdditionalData.AdditionalData -> NoticeError -> NoticeError

Add custom attribute to Nreum NoticeError

Helpers

toGraphQLResultError : Graphql.Http.Error result -> String

Convert Graphql.Http.Error result to String

toHttpError : Http.Error -> String

Convert Http.Error to String

toRemoteDataError : RemoteData (Graphql.Http.Error response) response -> String

Convert RemoteData for Graphql to String

Encoding

encode : NoticeError -> Json.Encode.Value

Convert Nreum NoticeError to JSON