Documentation ¶
Overview ¶
Package logger handles logging various sinner events and errors.
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func ReportSinnerError ¶
ReportSinnerError reports an error that occurs anywhere in sinner.
nolint:exhaustive
Types ¶
type ErrorType ¶
type ErrorType int
ErrorType is a type of error.
const ( // ContextCancelled is returned when the context is canceled. ContextCancelled ErrorType = iota // ScribeFetchFailure is returned when a scribe related query fails. ScribeFetchFailure // SinnerIndexingFailure is for when the sinner indexer fails. SinnerIndexingFailure // UnknownTopic is for when an unknown topic is encountered while parsing. UnknownTopic )
type StatusType ¶
type StatusType int
StatusType is a type of status for a process in scribe.
const ( // InitiatingIndexing is returned when a contract begins indexing. InitiatingIndexing StatusType = iota // CreatingSQLStore is returned when a SQL store is being created. CreatingSQLStore )
Click to show internal directories.
Click to hide internal directories.