A go interface for easily handeling error calls.
This package uses ANSI Escape Codes from github.com/fatih/color by Fatih Arslan.
import (
"github.com/TheSp1der/GoError"
"errors"
)
Fatal Errors: This will stop the process.
GoError.Fatal(errors.New("This is a fatal error and will call os.Exit()"))
Warning Errors: Identify the error as a warning.
GoError.Warning(errors.New("This is a warning"))
Informational Errors:
GoError.Info(errors.New("This is non-critical information"))