[19] Results

CodeIgniter : "Fatal error: Cannot use object of type stdClass as array" message

codeigniter fatal-error stdClass object

There are times when the error message returned by the interpreter or compiler just don't make sense. Today I encountered….... read more

Linux/Unix : fatal: the Postfix mail system is already running

ubuntu linux unix postfix fatal-error

Problem :

Postfix throws out this error message :

fatal: the Postfix mail system is already running

when attempting….... read more

Golang : Exit, terminating or aborting a program

golang exit abort error

There are times where a controlled termination of a program is required rather than proceeding ahead. This is a quick….... read more

Golang : rune literal not terminated error

golang error rune

Encounter this error message rune literal not terminated while working on a Golang project recently. Took me a while to….... read more

Golang : Error handling methods

golang error exception

Couple of days ago I attended a Golang meetup for the first time nearby where I live. There are developers….... read more

Golang : How To Use Panic and Recover

golang errorpanic recover

In this tutorial we will understand how panic function works and how to "interrupt and recover" from the panic. First, let's examine Panic function package….... read more

Golang : Smarter Error Handling with strings.Contains()

golang error-handling

In this tutorial, we will learn some simple trick with strings.Contain() function on capturing the error message and handling it according to the error message.….... read more

Golang : Logging with logrus

golang logrus error-messages logging

While researching for the previous tutorial on how to save log messages to file. I came across an….... read more