diff options
author | =Corey Hulen <corey@hulen.com> | 2016-01-27 10:56:15 -0500 |
---|---|---|
committer | =Corey Hulen <corey@hulen.com> | 2016-01-27 10:56:15 -0500 |
commit | dc4b71bba2cad5e85e86cc6ecb743bea84f9ccc8 (patch) | |
tree | 61703583db1a1bdf18c1f4b410950c9d701abe2d /model/utils.go | |
parent | b7606da40f5403896dfbf930837530b4b22abacd (diff) | |
download | chat-dc4b71bba2cad5e85e86cc6ecb743bea84f9ccc8.tar.gz chat-dc4b71bba2cad5e85e86cc6ecb743bea84f9ccc8.tar.bz2 chat-dc4b71bba2cad5e85e86cc6ecb743bea84f9ccc8.zip |
PLT-7 Removing AppError ctor
Diffstat (limited to 'model/utils.go')
-rw-r--r-- | model/utils.go | 10 |
1 files changed, 0 insertions, 10 deletions
diff --git a/model/utils.go b/model/utils.go index 719a2ad1b..695d4a0cb 100644 --- a/model/utils.go +++ b/model/utils.go @@ -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 |