class documentation
class SetProfilePhotoError(bb.Union): (source)
This class acts as a tagged union. Only one of the ``is_*`` methods will return true. To get the associated value of a tag (if one exists), use the corresponding ``get_*`` method. :ivar account.SetProfilePhotoError.file_type_error: File cannot be set as profile photo. :ivar account.SetProfilePhotoError.file_size_error: File cannot exceed 10 MB. :ivar account.SetProfilePhotoError.dimension_error: Image must be larger than 128 x 128. :ivar account.SetProfilePhotoError.thumbnail_error: Image could not be thumbnailed. :ivar account.SetProfilePhotoError.transient_error: Temporary infrastructure failure, please retry.
Method | is |
Check if the union tag is ``dimension_error``. |
Method | is |
Check if the union tag is ``file_size_error``. |
Method | is |
Check if the union tag is ``file_type_error``. |
Method | is |
Check if the union tag is ``other``. |
Method | is |
Check if the union tag is ``thumbnail_error``. |
Method | is |
Check if the union tag is ``transient_error``. |
Class Variable | dimension |
Undocumented |
Class Variable | file |
Undocumented |
Class Variable | file |
Undocumented |
Class Variable | other |
Undocumented |
Class Variable | thumbnail |
Undocumented |
Class Variable | transient |
Undocumented |
Method | _process |
Undocumented |
Class Variable | _catch |
Undocumented |