Packages

A library that allows connecting to Freelancer game servers via an FLHook socket to run commands and receive events.

Current section

Files

Jump to
fl_hook_client lib fl_hook handshake_error.ex
Raw

lib/fl_hook/handshake_error.ex

defmodule FLHook.HandshakeError do
@moduledoc """
An error that indicates that the socket connection is not a valid FLHook
socket or the encoding is wrong.
"""
defexception [:actual_message]
def message(_error) do
"Socket is not a valid FLHook socket"
end
end