codeforces-cli-0.1.0: Command line interface to interact with Codeforces.
Safe HaskellSafe-Inferred
LanguageHaskell2010

Codeforces.Logging

Description

Utility functions for producing and writing error logs.

Synopsis

Documentation

data ErrorLog Source #

Contains a brief, user-friendly error message and potential loggable data.

Constructors

ErrorLog 

Instances

Instances details
Show ErrorLog Source # 
Instance details

Defined in Codeforces.Logging

mkErrorLog :: String -> ErrorLog Source #

Produces an error and log using a single error message.

(<~>) :: String -> String -> ErrorLog Source #

Takes an error message and error details and produces a pair of the message and full error details.