1from typing import Any, Callable, TypeVar
2
3_T = TypeVar('_T')
4
5def checked_call(func: Callable[..., _T], *args: Any, **kwargs: Any) -> _T: ...
6class Error(EnvironmentError): ...
7class EPERM(Error): ...
8class ENOENT(Error): ...
9class ESRCH(Error): ...
10class EINTR(Error): ...
11class EIO(Error): ...
12class ENXIO(Error): ...
13class E2BIG(Error): ...
14class ENOEXEC(Error): ...
15class EBADF(Error): ...
16class ECHILD(Error): ...
17class EAGAIN(Error): ...
18class ENOMEM(Error): ...
19class EACCES(Error): ...
20class EFAULT(Error): ...
21class ENOTBLK(Error): ...
22class EBUSY(Error): ...
23class EEXIST(Error): ...
24class EXDEV(Error): ...
25class ENODEV(Error): ...
26class ENOTDIR(Error): ...
27class EISDIR(Error): ...
28class EINVAL(Error): ...
29class ENFILE(Error): ...
30class EMFILE(Error): ...
31class ENOTTY(Error): ...
32class ETXTBSY(Error): ...
33class EFBIG(Error): ...
34class ENOSPC(Error): ...
35class ESPIPE(Error): ...
36class EROFS(Error): ...
37class EMLINK(Error): ...
38class EPIPE(Error): ...
39class EDOM(Error): ...
40class ERANGE(Error): ...
41class EDEADLCK(Error): ...
42class ENAMETOOLONG(Error): ...
43class ENOLCK(Error): ...
44class ENOSYS(Error): ...
45class ENOTEMPTY(Error): ...
46class ELOOP(Error): ...
47class EWOULDBLOCK(Error): ...
48class ENOMSG(Error): ...
49class EIDRM(Error): ...
50class ECHRNG(Error): ...
51class EL2NSYNC(Error): ...
52class EL3HLT(Error): ...
53class EL3RST(Error): ...
54class ELNRNG(Error): ...
55class EUNATCH(Error): ...
56class ENOCSI(Error): ...
57class EL2HLT(Error): ...
58class EBADE(Error): ...
59class EBADR(Error): ...
60class EXFULL(Error): ...
61class ENOANO(Error): ...
62class EBADRQC(Error): ...
63class EBADSLT(Error): ...
64class EDEADLOCK(Error): ...
65class EBFONT(Error): ...
66class ENOSTR(Error): ...
67class ENODATA(Error): ...
68class ETIME(Error): ...
69class ENOSR(Error): ...
70class ENONET(Error): ...
71class ENOPKG(Error): ...
72class EREMOTE(Error): ...
73class ENOLINK(Error): ...
74class EADV(Error): ...
75class ESRMNT(Error): ...
76class ECOMM(Error): ...
77class EPROTO(Error): ...
78class EMULTIHOP(Error): ...
79class EDOTDOT(Error): ...
80class EBADMSG(Error): ...
81class EOVERFLOW(Error): ...
82class ENOTUNIQ(Error): ...
83class EBADFD(Error): ...
84class EREMCHG(Error): ...
85class ELIBACC(Error): ...
86class ELIBBAD(Error): ...
87class ELIBSCN(Error): ...
88class ELIBMAX(Error): ...
89class ELIBEXEC(Error): ...
90class EILSEQ(Error): ...
91class ERESTART(Error): ...
92class ESTRPIPE(Error): ...
93class EUSERS(Error): ...
94class ENOTSOCK(Error): ...
95class EDESTADDRREQ(Error): ...
96class EMSGSIZE(Error): ...
97class EPROTOTYPE(Error): ...
98class ENOPROTOOPT(Error): ...
99class EPROTONOSUPPORT(Error): ...
100class ESOCKTNOSUPPORT(Error): ...
101class ENOTSUP(Error): ...
102class EOPNOTSUPP(Error): ...
103class EPFNOSUPPORT(Error): ...
104class EAFNOSUPPORT(Error): ...
105class EADDRINUSE(Error): ...
106class EADDRNOTAVAIL(Error): ...
107class ENETDOWN(Error): ...
108class ENETUNREACH(Error): ...
109class ENETRESET(Error): ...
110class ECONNABORTED(Error): ...
111class ECONNRESET(Error): ...
112class ENOBUFS(Error): ...
113class EISCONN(Error): ...
114class ENOTCONN(Error): ...
115class ESHUTDOWN(Error): ...
116class ETOOMANYREFS(Error): ...
117class ETIMEDOUT(Error): ...
118class ECONNREFUSED(Error): ...
119class EHOSTDOWN(Error): ...
120class EHOSTUNREACH(Error): ...
121class EALREADY(Error): ...
122class EINPROGRESS(Error): ...
123class ESTALE(Error): ...
124class EUCLEAN(Error): ...
125class ENOTNAM(Error): ...
126class ENAVAIL(Error): ...
127class EISNAM(Error): ...
128class EREMOTEIO(Error): ...
129class EDQUOT(Error): ...
130