Skip to content

Commit 0e307fc

Browse files
committed
Fix typo on spec
1 parent d02d8b4 commit 0e307fc

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

Diff for: lib/postgrex/protocol.ex

+3-3
Original file line numberDiff line numberDiff line change
@@ -476,7 +476,7 @@ defmodule Postgrex.Protocol do
476476
{:ok, Postgrex.Result.t(), state}
477477
| {DBConnection.status(), state}
478478
| {:disconnect, %RuntimeError{}, state}
479-
| {:disconnect, %DBConnection.ConnectionError{} | Postgex.Error.t(), state}
479+
| {:disconnect, %DBConnection.ConnectionError{} | Postgrex.Error.t(), state}
480480
def handle_begin(_, %{postgres: {_, _}} = s) do
481481
lock_error(s, :begin)
482482
end
@@ -500,7 +500,7 @@ defmodule Postgrex.Protocol do
500500
{:ok, Postgrex.Result.t(), state}
501501
| {DBConnection.status(), state}
502502
| {:disconnect, %RuntimeError{}, state}
503-
| {:disconnect, %DBConnection.ConnectionError{} | Postgex.Error.t(), state}
503+
| {:disconnect, %DBConnection.ConnectionError{} | Postgrex.Error.t(), state}
504504
def handle_commit(_, %{postgres: {_, _}} = s) do
505505
lock_error(s, :commit)
506506
end
@@ -524,7 +524,7 @@ defmodule Postgrex.Protocol do
524524
{:ok, Postgrex.Result.t(), state}
525525
| {DBConnection.status(), state}
526526
| {:disconnect, %RuntimeError{}, state}
527-
| {:disconnect, %DBConnection.ConnectionError{} | Postgex.Error.t(), state}
527+
| {:disconnect, %DBConnection.ConnectionError{} | Postgrex.Error.t(), state}
528528
def handle_rollback(_, %{postgres: {_, _}} = s) do
529529
lock_error(s, :rollback)
530530
end

0 commit comments

Comments
 (0)