Task Attachments #104
|
@ -24,7 +24,7 @@ type ErrFileDoesNotExist struct {
|
|||
FileID int64
|
||||
}
|
||||
|
||||
// Error is the error implementaion of ErrFileDoesNotExist
|
||||
// Error is the error implementation of ErrFileDoesNotExist
|
||||
func (err ErrFileDoesNotExist) Error() string {
|
||||
return fmt.Sprintf("file %d does not exist", err.FileID)
|
||||
}
|
||||
|
@ -40,7 +40,7 @@ type ErrFileIsTooLarge struct {
|
|||
Size int64
|
||||
}
|
||||
|
||||
// Error is the error implementaion of ErrFileIsTooLarge
|
||||
// Error is the error implementation of ErrFileIsTooLarge
|
||||
func (err ErrFileIsTooLarge) Error() string {
|
||||
return fmt.Sprintf("file is too large [Size: %d]", err.Size)
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue