File tree Expand file tree Collapse file tree 3 files changed +31
-0
lines changed Expand file tree Collapse file tree 3 files changed +31
-0
lines changed Original file line number Diff line number Diff line change @@ -148,6 +148,16 @@ defmodule ExUnit do
148
148
end
149
149
150
150
defmodule TimeoutError do
151
+ @ moduledoc """
152
+ Exception raised when a test times out.
153
+ """
154
+
155
+ @ typedoc since: "1.16.0"
156
+ @ type t :: % __MODULE__ {
157
+ timeout: non_neg_integer ,
158
+ type: String . t ( )
159
+ }
160
+
151
161
defexception [ :timeout , :type ]
152
162
153
163
@ impl true
Original file line number Diff line number Diff line change 1
1
defmodule ExUnit.DuplicateTestError do
2
+ @ moduledoc """
3
+ Exception raised to indicate two or more tests with the same name.
4
+ """
5
+
6
+ @ typedoc since: "1.16.0"
7
+ @ type t :: % __MODULE__ { message: String . t ( ) }
8
+
2
9
defexception [ :message ]
3
10
end
4
11
5
12
defmodule ExUnit.DuplicateDescribeError do
13
+ @ moduledoc """
14
+ Exception raised to indicate two or more `describe` blocks with
15
+ the same name.
16
+ """
17
+
18
+ @ typedoc since: "1.16.0"
19
+ @ type t :: % __MODULE__ { message: String . t ( ) }
20
+
6
21
defexception [ :message ]
7
22
end
8
23
Original file line number Diff line number Diff line change @@ -152,6 +152,12 @@ defmodule ExUnit.DocTest do
152
152
@ opaque_type_regex ~r/ #[\w \. ]+</
153
153
154
154
defmodule Error do
155
+ @ moduledoc """
156
+ Exception raised when there's an error with the syntax or semantics of a doctest.
157
+ """
158
+
159
+ @ typedoc since: "1.16.0"
160
+ @ type t :: % __MODULE__ { message: String . t ( ) }
155
161
defexception [ :message ]
156
162
157
163
@ impl true
You can’t perform that action at this time.
0 commit comments