Documentation ¶
Index ¶
- Variables
- func BadPushChannel(channel string) error
- func CannotCreateFormFieldFromFile(filepath, err string) error
- func CannotDeleteCookiesFile(filepath, err string) error
- func CannotMarshalJSON(structVal interface{}, err string) error
- func CannotOpenFile(filepath, err string) error
- func CookiesFileNotWritable(filepath, err string) error
- func CreateFolder(err string) error
- func EmptyParameter(param string) error
- func ErrorBuildingHTTPRequest(err string) error
- func ErrorGettingHTTPResponse(err string) error
- func ErrorReadingHTTPResponseBody(err string) error
- func GetError(prefix *string, serverMessage *string, response interface{}, ...) (err error)
- func InvalidAppRefreshInterval(interval int) error
- func InvalidBiography(bio string) error
- func InvalidDeviceFormat(deviceString string) error
- func InvalidHTTPStatus(statusCode int) error
- func InvalidIdForIgtv(item interface{}) error
- func InvalidItem(item interface{}) error
- func InvalidLoginResponse(message string) error
- func InvalidMethodForTwoFactor(method string) error
- func InvalidStorageVersion(version int) error
- func MissingMentionInReply(reply string) error
- func MoveFile(oldPath, newPath, err string) error
- func NotEnoughDeviceStringResolution(deviceString, minimum string) error
- func NotEnoughDeviceStringVersion(deviceString, minimum string) error
- func NotSupportedApiVersion(version int) error
- func NotValidPersistentKey(key string) error
- func ParameterMustBeString(param string) error
- func PathAlreadyExists(path string) error
- func PathNotExist(path string) error
- func ReadFile(filePath, err string) error
- func SettingsKeyNotFound(key string) error
- func TooHighAppRefreshInterval(interval int) error
- func UnknownItem(item interface{}) error
- func UnknownSearchType(t string) error
- func UnknownSettingsStorageType(sType string) error
- type AccountDisabled
- type BadRequest
- type ChallengeRequired
- type CheckpointRequired
- type ConsentRequired
- type FeedbackRequired
- type ForcedPasswordReset
- type GistaError
- type IncorrectPassword
- type InvalidParameters
- type InvalidSmsCode
- type InvalidUser
- type JsonUnmarshal
- type LoginRequired
- type NotAuthorized
- type RateLimit
- type SentryBlock
- type TwoFactorRequired
- type UserNotFound
Constants ¶
This section is empty.
Variables ¶
View Source
var ( EmptyUsernameOrPassword = errors.New("Please provide a username and password to login") StorageNoUsernameIsSet = errors.New("No Username is set in storage handler") EmptyDeviceString = errors.New("device string is empty") NotLoggedIn = errors.New("User not logged in") NoDataForStreamCreation = errors.New("No data is provided for stream creation") InvalidRequestOptions = errors.New("Invalid request options") RequestedResourceNotExist = errors.New("Requested resource does not exist") NoResponseFromServer = errors.New("No response from server. Either a connection or configuration error.") UnknownMessageObject = errors.New("Unknown message object. Expected errors subarray but found something else. Please submit a ticket about needing an InstagramInterface-API library update!") UnknownMessageType = errors.New("Unknown message type. Please submit a ticket about needing an InstagramInterface-API library update!") EmptyCookiesFilePath = errors.New("Empty cookies file path") ThrottledResponse = errors.New("Throttled by InstagramInterface because of too many API requests.") RequestHeaderTooLargeResponse = errors.New("The request start-line and/or headers are too large to process.") UsernameAndPasswordRequiredForTwoFactor = errors.New("You must provide a username and password to finishTwoFactorLogin()") VerificationCodeRequiredForTwoFactor = errors.New("You must provide a verification code and two-factor identifier to finishTwoFactorLogin().") )
Functions ¶
func BadPushChannel ¶
func CannotDeleteCookiesFile ¶
func CannotMarshalJSON ¶
func CannotOpenFile ¶
func CookiesFileNotWritable ¶
func CreateFolder ¶
func EmptyParameter ¶
func InvalidBiography ¶
func InvalidDeviceFormat ¶
func InvalidHTTPStatus ¶
func InvalidIdForIgtv ¶
func InvalidIdForIgtv(item interface{}) error
func InvalidItem ¶
func InvalidItem(item interface{}) error
func InvalidLoginResponse ¶
func InvalidStorageVersion ¶
func MissingMentionInReply ¶
func NotSupportedApiVersion ¶
func NotValidPersistentKey ¶
func ParameterMustBeString ¶
func PathAlreadyExists ¶
func PathNotExist ¶
func SettingsKeyNotFound ¶
func UnknownItem ¶
func UnknownItem(item interface{}) error
func UnknownSearchType ¶
Types ¶
type AccountDisabled ¶
type AccountDisabled GistaError
func (AccountDisabled) Error ¶
func (ad AccountDisabled) Error() string
type BadRequest ¶
type BadRequest GistaError
func (BadRequest) Error ¶
func (br BadRequest) Error() string
type ChallengeRequired ¶
type ChallengeRequired struct { Type *string Message *string HTTPResponse responses.ResponseInterface }
func (ChallengeRequired) Error ¶
func (cr ChallengeRequired) Error() string
func (ChallengeRequired) GetChallenge ¶
func (cr ChallengeRequired) GetChallenge() *models.Challenge
type CheckpointRequired ¶
type CheckpointRequired struct { Type *string Message *string HTTPResponse responses.ResponseInterface }
func (CheckpointRequired) Error ¶
func (cp CheckpointRequired) Error() string
func (CheckpointRequired) GetCheckpointUrl ¶
func (cp CheckpointRequired) GetCheckpointUrl() string
type ConsentRequired ¶
type ConsentRequired GistaError
func (ConsentRequired) Error ¶
func (cr ConsentRequired) Error() string
type FeedbackRequired ¶
type FeedbackRequired GistaError
func (FeedbackRequired) Error ¶
func (fr FeedbackRequired) Error() string
type ForcedPasswordReset ¶
type ForcedPasswordReset GistaError
func (ForcedPasswordReset) Error ¶
func (fpr ForcedPasswordReset) Error() string
type GistaError ¶
type GistaError struct { Type *string Message *string HTTPResponse responses.ResponseInterface }
func (GistaError) Error ¶
func (g GistaError) Error() string
type IncorrectPassword ¶
type IncorrectPassword GistaError
func (IncorrectPassword) Error ¶
func (ip IncorrectPassword) Error() string
type InvalidParameters ¶
type InvalidParameters GistaError
func (InvalidParameters) Error ¶
func (ip InvalidParameters) Error() string
type InvalidSmsCode ¶
type InvalidSmsCode GistaError
func (InvalidSmsCode) Error ¶
func (isc InvalidSmsCode) Error() string
type InvalidUser ¶
type InvalidUser GistaError
func (InvalidUser) Error ¶
func (iu InvalidUser) Error() string
type JsonUnmarshal ¶
type JsonUnmarshal GistaError
func (JsonUnmarshal) Error ¶
func (ad JsonUnmarshal) Error() string
type LoginRequired ¶
type LoginRequired GistaError
func (LoginRequired) Error ¶
func (lr LoginRequired) Error() string
type NotAuthorized ¶
type NotAuthorized GistaError
func (NotAuthorized) Error ¶
func (na NotAuthorized) Error() string
type RateLimit ¶
type RateLimit GistaError
type SentryBlock ¶
type SentryBlock GistaError
func (SentryBlock) Error ¶
func (sb SentryBlock) Error() string
type TwoFactorRequired ¶
type TwoFactorRequired struct { Type *string Message *string HTTPResponse responses.ResponseInterface }
func (TwoFactorRequired) Error ¶
func (tfr TwoFactorRequired) Error() string
func (TwoFactorRequired) GetTwoFactorInfo ¶
func (tfr TwoFactorRequired) GetTwoFactorInfo() *models.TwoFactorInfo
type UserNotFound ¶
type UserNotFound GistaError
func (UserNotFound) Error ¶
func (unf UserNotFound) Error() string
Source Files ¶
- account_disabled.go
- bad_request.go
- challenge_required.go
- checkpoint_required.go
- consent_required.go
- errors.go
- feedback_required.go
- force_password_reset.go
- get_error.go
- gista_error.go
- incorrect_password.go
- invalid_parameters.go
- invalid_sms_code.go
- invalid_user.go
- json_unmarshal.go
- login_required.go
- not_authroized.go
- rate_limit.go
- sentry_block.go
- two_factor_required.go
- user_not_found.go
Click to show internal directories.
Click to hide internal directories.