Этот коммит содержится в:
=Corey Hulen
2016-01-27 10:56:15 -05:00
родитель b7606da40f
Коммит dc4b71bba2
5 изменённых файлов: 18 добавлений и 14 удалений

Просмотреть файл

@@ -71,16 +71,6 @@ func AppErrorFromJson(data io.Reader) *AppError {
}
}
func NewAppError(where string, message string, details string) *AppError {
ap := &AppError{}
ap.Message = message
ap.Where = where
ap.DetailedError = details
ap.StatusCode = 500
ap.IsOAuth = false
return ap
}
func NewLocAppError(where string, id string, params map[string]interface{}, details string) *AppError {
ap := &AppError{}
ap.Id = id