Sha256: ffc8fb4b5a9bf3e5dc4ab6191be38b75279db290206206965cf352cffdc46cf9

Contents?: true

Size: 707 Bytes

Versions: 8

Compression:

Stored size: 707 Bytes

Contents

# typed: strict
require 'sorbet-runtime'

require 'active_support'
require_relative 'extensions'

# The insides of the gem
require "mangadex/version"
require "mangadex/internal"

# Types that represent all of the resources (ie: objects)
require "mangadex/types"

# API, to interact with Mangadex
require "mangadex/api"

# Namespace for classes and modules for this gem.
# @since 5.3.0

module Mangadex
  # Standard error class for this gem.
  # 
  # @author thedrummeraki
  # @since 0.6.0
  class Error < StandardError
    extend T::Sig
  end

  class UserNotLoggedIn < Error
    sig { returns(String) }
    def message
      "You are not logged in. Use [Mangadex::Auth.login] to log in."
    end
  end
end

Version data entries

8 entries across 8 versions & 1 rubygems

Version Path
mangadex-5.3.3.1 lib/mangadex.rb
mangadex-5.3.3 lib/mangadex.rb
mangadex-5.3.2 lib/mangadex.rb
mangadex-5.3.1.3 lib/mangadex.rb
mangadex-5.3.1.2 lib/mangadex.rb
mangadex-5.3.1.1 lib/mangadex.rb
mangadex-5.3.1 lib/mangadex.rb
mangadex-5.3.0 lib/mangadex.rb