Skip to content

Commit

Permalink
Add cli errortypes
Browse files Browse the repository at this point in the history
  • Loading branch information
zachhuff386 committed Aug 8, 2020
1 parent aed3255 commit a02bbb9
Showing 1 changed file with 33 additions and 0 deletions.
33 changes: 33 additions & 0 deletions cli/errortypes/errortypes.go
Original file line number Diff line number Diff line change
@@ -0,0 +1,33 @@
package errortypes

import (
"github.com/dropbox/godropbox/errors"
)

type UnknownError struct {
errors.DropboxError
}

type NotFoundError struct {
errors.DropboxError
}

type ReadError struct {
errors.DropboxError
}

type WriteError struct {
errors.DropboxError
}

type ParseError struct {
errors.DropboxError
}

type ExecError struct {
errors.DropboxError
}

type RequestError struct {
errors.DropboxError
}

0 comments on commit a02bbb9

Please sign in to comment.