Searched refs:UsageError (Results 1 – 25 of 25) sorted by relevance
42 function UsageError (msg = '') { class80 if (!cmd) { UsageError('Subcommand is required.') }81 if (!fn) { UsageError(`${cmd} is not a recognized subcommand.`) }101 UsageError('First argument must be either `read-only` or `read-write.`')104 UsageError('`<scope:team>` argument is required.')108 UsageError(122 UsageError('`<scope:team>` argument is required.')126 UsageError(193 UsageError('This command is only available for scoped packages.')
78 function UsageError () { class89 default: UsageError()100 if (!pkg) { UsageError() }124 if (!user) { UsageError() }127 if (!pkg) { UsageError() }152 if (!user) { UsageError() }155 if (!pkg) { UsageError() }
40 function UsageError () { class60 UsageError()82 if (!spec || !version || !t) UsageError()134 if (!pkg) { UsageError() }
29 function UsageError () { class97 UsageError()
42 function UsageError () { class58 UsageError()
32 function UsageError () { class75 UsageError()
35 function UsageError () { class61 UsageError()
108 void UsageError() { in UsageError() function204 if (++arg == argc) UsageError(); in Run()215 if (++arg == argc) UsageError(); in Run()221 UsageError(); in Run()
79 raise UsageError('Channel is closed.')123 raise UsageError('Channel is closed.')128 raise UsageError("Call credentials are only valid on secure channels")
82 raise UsageError(_RPC_FINISHED_DETAILS)152 raise UsageError('Send initial metadata failed: already sent')167 raise UsageError('Abort already called!')941 raise UsageError('Server not in ready state')
85 class UsageError(BaseError): class
25 UsageError)
305 raise cygrpc.UsageError(_API_STYLE_ERROR)383 raise cygrpc.UsageError(_API_STYLE_ERROR)
500 raise cygrpc.UsageError(_API_STYLE_ERROR)530 raise cygrpc.UsageError(_API_STYLE_ERROR)
41 class UsageError(Exception): class
148 raise app.UsageError("Too many command-line arguments.")
486 raise grpc.experimental.UsageError(508 raise grpc.experimental.UsageError(530 raise grpc.experimental.UsageError(564 raise grpc.experimental.UsageError(572 raise grpc.experimental.UsageError(580 raise grpc.experimental.UsageError(625 raise grpc.experimental.UsageError(
105 with self.assertRaises(aio.UsageError):
506 with self.assertRaises(grpc._cython.cygrpc.UsageError):509 with self.assertRaises(grpc._cython.cygrpc.UsageError):
257 with self.assertRaises(aio.UsageError):
212 aio.UsageError,
74 .. autoexception:: UsageError
501 raise cygrpc.UsageError(_API_STYLE_ERROR)531 raise cygrpc.UsageError(_API_STYLE_ERROR)
123 raise UsageError("the server must be shutting down to cancel all calls")