Documentation ¶
Index ¶
Constants ¶
View Source
const GetDatabaseError = "Could not get MongoDb session"
View Source
const NotFound = "not found"
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type ServiceError ¶
func NewServiceError ¶
func NewServiceError(code int, message ...interface{}) *ServiceError
func NewServiceErrorf ¶
func NewServiceErrorf(code int, format string, args ...interface{}) *ServiceError
func (*ServiceError) Error ¶
func (he *ServiceError) Error() string
Click to show internal directories.
Click to hide internal directories.