kapoorlakshya/screen-recorder

View on GitHub
lib/screen-recorder/errors.rb

Summary

Maintainability
A
0 mins
Test Coverage
C
75%
module ScreenRecorder
  # @since 1.0.0-beta5
  module Errors
    # @since 1.0.0-beta3
    class ApplicationNotFound < StandardError
      def message
        'expected application was not found by ffmpeg.'
      end
    end

    # @since 1.0.0-beta5
    class DependencyNotFound < StandardError
      def message
        'ffmpeg/ffprobe binary path not set or not found in ENV.'
      end
    end
  end
end