ENUM

HostTargetChannelErrorCode

HostTargetChannelErrorCode are the list of thrown errors.

link GraphQL Schema definition

1enum HostTargetChannelErrorCode {
2
3# The target channel is already being hosted.
4TARGET_CHANNEL_ALREADY_HOSTED
5
6# The target channel is unhostable because the target channel has ignored/banned
7# the channel attempting to host, the target channel is blocked from hosting, etc.
8UNHOSTABLE_CHANNEL
9
10# The target channel is a TOS/DMCA/suspended channel and cannot be hosted.
11TARGET_CHANNEL_IN_BAD_STANDING
12
13# A channel cannot host itself.
14CANNOT_HOST_SELF
15}