Remove unused methods

This commit is contained in:
Martin Polden 2016-04-16 11:11:19 +02:00
parent 837a32db56
commit 5e2c67573c
1 changed files with 0 additions and 10 deletions

View File

@ -30,21 +30,11 @@ func (e *appError) AsJSON() *appError {
return e
}
func (e *appError) WithCode(code int) *appError {
e.Code = code
return e
}
func (e *appError) WithMessage(message string) *appError {
e.Message = message
return e
}
func (e *appError) WithError(err error) *appError {
e.Error = err
return e
}
func (e *appError) IsJSON() bool {
return e.ContentType == APPLICATION_JSON
}