func NewActionReturn(i interface{}) *ActionReturn {
	if err, ok := i.(error); ok {
		return &ActionReturn{Error: err.Error()}
	} else {
		return &ActionReturn{Return: i}
	}
}
// Returns an ActionReturn based on the given item (could be an error, or
// anything else)
Returns an ActionReturn based on the given item (could be an error, or
anything else)
// Returns an ActionReturn based on the given item ( could be an error or // anything else )
func NewActionReturn(i interface{}) *ActionReturn {
	if err, ok := i.(error); ok {
		return &ActionReturn{Error: err.Error()}
	} else {
		return &ActionReturn{Return: i}
	}
}
func NewActionReturn ( i interface { } ) * ActionReturn { if err , ok := i . ( error ) ; ok { return & ActionReturn { Error : err . Error ( ) } } else { return & ActionReturn { Return : i } } }
Returns an ActionReturn based on the given item (could be an error, or
anything else)
Returns an ActionReturn based on the given item ( could be an error or anything else )